Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001772/0.001772, allocations: 191.7 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.48 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3377, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1957/0.5334, allocations: 163.8 MB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01281/0.5463, allocations: 7.681 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.5481, allocations: 31.81 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.5498, allocations: 338 kB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.5541, allocations: 1.205 MB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003274/0.5574, allocations: 1.051 MB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003334/0.5607, allocations: 2.355 MB / 1.24 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.5628, allocations: 1.194 MB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.5644, allocations: 0.8095 MB / 1.242 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.5663, allocations: 0.8115 MB / 1.243 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004133/0.5667, allocations: 148 kB / 1.243 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.5692, allocations: 1.131 MB / 1.244 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006187/0.5698, allocations: 434.6 kB / 1.244 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009178/0.5708, allocations: 0.793 MB / 1.245 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.5738, allocations: 2.399 MB / 1.248 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5738, allocations: 0 / 1.248 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5739, allocations: 0 / 1.248 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.5739, allocations: 0 / 1.248 GB, free: 1.875 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.7162/1.29, allocations: 1.876 MB / 1.249 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.29, allocations: 9.469 kB / 1.249 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/1.293, allocations: 331.3 kB / 1.25 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/1.295, allocations: 0.9734 MB / 1.251 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-05/1.295, allocations: 81.58 kB / 1.251 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/1.295, allocations: 108.2 kB / 1.251 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/1.297, allocations: 1.176 MB / 1.252 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/1.298, allocations: 4.875 kB / 1.252 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.298, allocations: 52.22 kB / 1.252 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/1.298, allocations: 37.75 kB / 1.252 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/1.3, allocations: 1.313 MB / 1.253 GB, free: 184.2 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005946/1.306, allocations: 3.826 MB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/1.308, allocations: 0.9954 MB / 1.258 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/1.309, allocations: 399.1 kB / 1.258 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-05/1.309, allocations: 34.84 kB / 1.259 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/1.31, allocations: 0.5896 MB / 1.259 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.705e-06/1.31, allocations: 0 / 1.259 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003813/1.314, allocations: 1.435 MB / 1.26 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/1.314, allocations: 200.1 kB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/1.315, allocations: 0.8286 MB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/1.315, allocations: 50.88 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/1.316, allocations: 0.5246 MB / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/1.316, allocations: 337.9 kB / 1.262 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003447/1.316, allocations: 202.4 kB / 1.263 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/1.316, allocations: 348.1 kB / 1.263 GB, free: 180 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/1.317, allocations: 331.7 kB / 1.263 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008298/1.318, allocations: 484 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/1.319, allocations: 0.8009 MB / 1.264 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.319, allocations: 0.5625 kB / 1.264 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002516/1.322, allocations: 1.078 MB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.322, allocations: 6.062 kB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.322, allocations: 4.781 kB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006492/1.323, allocations: 84.38 kB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/1.324, allocations: 216 kB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/1.326, allocations: 1.647 MB / 1.267 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/1.327, allocations: 120.9 kB / 1.268 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/1.327, allocations: 45.97 kB / 1.268 GB, free: 177.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007262/1.328, allocations: 319.7 kB / 1.268 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/1.328, allocations: 122.8 kB / 1.268 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/1.331, allocations: 1.234 MB / 1.269 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/1.331, allocations: 11.78 kB / 1.269 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.331, allocations: 1.531 kB / 1.269 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/1.331, allocations: 8.797 kB / 1.269 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/1.334, allocations: 1.168 MB / 1.27 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.334, allocations: 3.938 kB / 1.27 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009962/1.335, allocations: 206.2 kB / 1.271 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/1.335, allocations: 78 kB / 1.271 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.335, allocations: 31.47 kB / 1.271 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/1.337, allocations: 1.65 MB / 1.272 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.337, allocations: 1.969 kB / 1.272 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/1.341, allocations: 1.583 MB / 1.274 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008176/1.342, allocations: 318.5 kB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/1.342, allocations: 24.56 kB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.343, allocations: 82.75 kB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/1.344, allocations: 85.7 kB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.344, allocations: 44.47 kB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001341/1.345, allocations: 0.579 MB / 1.275 GB, free: 173 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.345, allocations: 0 / 1.275 GB, free: 173 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001641/1.347, allocations: 428.2 kB / 1.275 GB, free: 172.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/1.348, allocations: 0.6178 MB / 1.276 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003553/1.352, allocations: 1.273 MB / 1.277 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.352, allocations: 0 / 1.277 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/1.353, allocations: 0.6006 MB / 1.278 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.356, allocations: 0.4946 MB / 1.278 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/1.361, allocations: 2.996 MB / 1.281 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.363, allocations: 1.158 MB / 1.282 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001858/1.364, allocations: 326.2 kB / 1.283 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/1.365, allocations: 124.4 kB / 1.283 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.365, allocations: 0 / 1.283 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04071/1.406, allocations: 20.72 MB / 1.303 GB, free: 159.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches