Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.TDewPoi|weaDat.weaBus.HGloHor|weaDat.weaBus.HDifHor|weaDat.weaBus.HDirNor|weaDatInpCon.weaBus.HGloHor|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.TDewPoi|weaDat.weaBus.HGloHor|weaDat.weaBus.HDifHor|weaDat.weaBus.HDirNor|weaDatInpCon.weaBus.HGloHor|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.2 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003079, allocations: 8 kB / 0.8145 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6498/0.6501, allocations: 142.3 MB / 0.9535 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005004/0.6551, allocations: 5.613 MB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1436/0.7988, allocations: 129.9 MB / 1.086 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.8005, allocations: 35.81 kB / 1.086 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00082/0.8014, allocations: 130.7 kB / 1.086 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.804, allocations: 0.7539 MB / 1.087 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.8068, allocations: 1.03 MB / 1.088 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002906/0.8097, allocations: 1.601 MB / 1.089 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.8112, allocations: 0.7782 MB / 1.09 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.8123, allocations: 0.6224 MB / 1.091 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.8134, allocations: 0.6239 MB / 1.091 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003533/0.8138, allocations: 56 kB / 1.091 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.8156, allocations: 0.7177 MB / 1.092 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004621/0.816, allocations: 342.6 kB / 1.092 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005211/0.8166, allocations: 344.6 kB / 1.093 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.8197, allocations: 2.151 MB / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8198, allocations: 0 / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8198, allocations: 0 / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000137/0.8199, allocations: 0 / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.004906/0.8248, allocations: 1.992 MB / 1.097 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.8249, allocations: 12.03 kB / 1.097 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.827, allocations: 393.1 kB / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.8293, allocations: 1.23 MB / 1.098 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/0.8294, allocations: 102.9 kB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.8296, allocations: 144 kB / 1.099 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.8325, allocations: 1.642 MB / 1.1 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.8326, allocations: 0 / 1.1 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.8327, allocations: 64 kB / 1.1 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.8328, allocations: 36 kB / 1.1 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003638/0.8364, allocations: 2.154 MB / 1.102 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007995/0.8444, allocations: 4.797 MB / 1.107 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.8476, allocations: 1.628 MB / 1.109 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.8477, allocations: 57.2 kB / 1.109 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00166/0.8494, allocations: 0.9384 MB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=154): time 3.075e-06/0.8494, allocations: 0 / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=154): time 0.006335/0.8558, allocations: 2.389 MB / 1.112 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001958/0.856, allocations: 363.4 kB / 1.112 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.8576, allocations: 1.147 MB / 1.113 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.8578, allocations: 53.7 kB / 1.113 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005885/0.8584, allocations: 0.67 MB / 1.114 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/0.8588, allocations: 496.8 kB / 1.115 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.8589, allocations: 32 kB / 1.115 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.8591, allocations: 353.9 kB / 1.115 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.8602, allocations: 0.4958 MB / 1.115 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.8615, allocations: 0.7225 MB / 1.116 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.8627, allocations: 0.5762 MB / 1.117 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.8627, allocations: 0 / 1.117 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003816/0.8665, allocations: 1.598 MB / 1.118 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.8666, allocations: 5.094 kB / 1.118 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.8666, allocations: 8.266 kB / 1.118 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.8677, allocations: 169.5 kB / 1.118 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.869, allocations: 303.5 kB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/0.8729, allocations: 3.095 MB / 1.122 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.8745, allocations: 200.2 kB / 1.122 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.8746, allocations: 63.95 kB / 1.122 GB, free: 2.535 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008625/0.8755, allocations: 417.4 kB / 1.122 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.8758, allocations: 162 kB / 1.123 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005128/0.8809, allocations: 2.204 MB / 1.125 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.8809, allocations: 16 kB / 1.125 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8809, allocations: 0 / 1.125 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.881, allocations: 11.97 kB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.8831, allocations: 1.632 MB / 1.126 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8831, allocations: 0 / 1.126 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.8843, allocations: 295.6 kB / 1.127 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009786/0.8853, allocations: 169.5 kB / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.8854, allocations: 47.97 kB / 1.127 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/0.889, allocations: 3.143 MB / 1.13 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.889, allocations: 0 / 1.13 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.893, allocations: 1.847 MB / 1.132 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008285/0.8939, allocations: 494.3 kB / 1.132 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.8941, allocations: 36.09 kB / 1.132 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.8954, allocations: 170.7 kB / 1.132 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.8956, allocations: 142.2 kB / 1.132 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.8958, allocations: 67.95 kB / 1.133 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001111/0.8969, allocations: 0.799 MB / 1.133 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8969, allocations: 0 / 1.133 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001283/0.8982, allocations: 0.5066 MB / 1.134 GB, free: 5.988 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001328/0.8995, allocations: 0.6476 MB / 1.134 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003242/0.9028, allocations: 1.61 MB / 1.136 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9028, allocations: 4 kB / 1.136 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.9047, allocations: 1.039 MB / 1.137 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.9067, allocations: 488.6 kB / 1.138 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/0.9145, allocations: 4.001 MB / 1.141 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009573/0.9155, allocations: 1.373 MB / 1.143 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001791/0.9173, allocations: 0.5166 MB / 1.143 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/0.9177, allocations: 191.3 kB / 1.143 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of SimCode: time 6.01e-07/0.9178, allocations: 4 kB / 1.143 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.04068/0.9584, allocations: 25.63 MB / 1.168 GB, free: 2.883 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches