Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01137/0.01137, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 10.03 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3147, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1721/0.4869, allocations: 163.7 MB / 1.219 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02032/0.5073, allocations: 16.86 MB / 1.235 GB, free: 212 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.5088, allocations: 27.81 kB / 1.235 GB, free: 184 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.5105, allocations: 469.1 kB / 1.235 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004922/0.5154, allocations: 1.441 MB / 1.237 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.5186, allocations: 1.181 MB / 1.238 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003837/0.5225, allocations: 2.84 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.5249, allocations: 1.601 MB / 1.242 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.5296, allocations: 1.035 MB / 1.243 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.5307, allocations: 0.7655 MB / 1.244 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.5309, allocations: 44 kB / 1.244 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.5336, allocations: 1.399 MB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.5339, allocations: 358.4 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009787/0.5349, allocations: 0.8405 MB / 1.247 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.5386, allocations: 2.935 MB / 1.25 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5386, allocations: 3.938 kB / 1.25 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5386, allocations: 0 / 1.25 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.15e-05/0.5386, allocations: 4 kB / 1.25 GB, free: 1.238 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.6192/1.158, allocations: 1.88 MB / 1.251 GB, free: 43.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.158, allocations: 9.75 kB / 1.251 GB, free: 43.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/1.162, allocations: 0.5217 MB / 1.252 GB, free: 43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/1.164, allocations: 1.086 MB / 1.253 GB, free: 42.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/1.164, allocations: 130.2 kB / 1.253 GB, free: 42.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/1.164, allocations: 166.2 kB / 1.253 GB, free: 42.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/1.168, allocations: 1.848 MB / 1.255 GB, free: 42.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/1.168, allocations: 0 / 1.255 GB, free: 42.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/1.168, allocations: 74.88 kB / 1.255 GB, free: 42.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/1.168, allocations: 44.75 kB / 1.255 GB, free: 42.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/1.171, allocations: 1.883 MB / 1.257 GB, free: 42.44 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.008053/1.179, allocations: 5.578 MB / 1.263 GB, free: 40.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/1.182, allocations: 1.766 MB / 1.264 GB, free: 39.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/1.183, allocations: 0.6569 MB / 1.265 GB, free: 39.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007021/1.184, allocations: 0.8153 MB / 1.266 GB, free: 38.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/1.185, allocations: 0.8939 MB / 1.267 GB, free: 38.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.675e-06/1.186, allocations: 0 / 1.267 GB, free: 38.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006965/1.192, allocations: 2.579 MB / 1.269 GB, free: 38.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.193, allocations: 197.8 kB / 1.269 GB, free: 37.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.194, allocations: 0.8362 MB / 1.27 GB, free: 37.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002715/1.195, allocations: 63.23 kB / 1.27 GB, free: 37.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006299/1.195, allocations: 0.6387 MB / 1.271 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004783/1.196, allocations: 484.6 kB / 1.271 GB, free: 37.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.196, allocations: 105.4 kB / 1.271 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/1.196, allocations: 358.2 kB / 1.272 GB, free: 36.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/1.197, allocations: 499.5 kB / 1.272 GB, free: 36.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/1.199, allocations: 0.6466 MB / 1.273 GB, free: 36.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/1.201, allocations: 1.125 MB / 1.274 GB, free: 36.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.201, allocations: 0.5 kB / 1.274 GB, free: 36.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004133/1.205, allocations: 1.559 MB / 1.275 GB, free: 36.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/1.205, allocations: 5.875 kB / 1.275 GB, free: 36.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.205, allocations: 5.312 kB / 1.275 GB, free: 36.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009409/1.206, allocations: 193.7 kB / 1.276 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/1.208, allocations: 340.4 kB / 1.276 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/1.213, allocations: 6.792 MB / 1.283 GB, free: 30.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/1.214, allocations: 179.8 kB / 1.283 GB, free: 30.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/1.214, allocations: 59.22 kB / 1.283 GB, free: 30.09 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008074/1.215, allocations: 382.5 kB / 1.283 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/1.215, allocations: 128.6 kB / 1.283 GB, free: 29.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/1.22, allocations: 1.855 MB / 1.285 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/1.22, allocations: 15.31 kB / 1.285 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/1.22, allocations: 1.469 kB / 1.285 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/1.22, allocations: 12.06 kB / 1.285 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006671/1.226, allocations: 3.442 MB / 1.288 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.227, allocations: 6.141 kB / 1.288 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/1.228, allocations: 321.6 kB / 1.289 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000826/1.229, allocations: 187.8 kB / 1.289 GB, free: 29.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/1.229, allocations: 42.86 kB / 1.289 GB, free: 29.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/1.233, allocations: 6.817 MB / 1.296 GB, free: 22.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.233, allocations: 0.9062 kB / 1.296 GB, free: 22.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/1.237, allocations: 1.719 MB / 1.297 GB, free: 22.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007895/1.238, allocations: 422.7 kB / 1.298 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/1.238, allocations: 25.94 kB / 1.298 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.239, allocations: 150.8 kB / 1.298 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/1.24, allocations: 114.5 kB / 1.298 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.24, allocations: 71.89 kB / 1.298 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008133/1.241, allocations: 0.5769 MB / 1.299 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.3e-07/1.241, allocations: 0 / 1.299 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001987/1.243, allocations: 0.6051 MB / 1.299 GB, free: 22.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00172/1.244, allocations: 0.7247 MB / 1.3 GB, free: 22.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003174/1.247, allocations: 1.875 MB / 1.302 GB, free: 21.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.247, allocations: 5.109 kB / 1.302 GB, free: 21.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/1.249, allocations: 1.306 MB / 1.303 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.252, allocations: 0.4997 MB / 1.304 GB, free: 20.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/1.259, allocations: 3.563 MB / 1.307 GB, free: 19.01 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/1.26, allocations: 1.293 MB / 1.308 GB, free: 18.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00336/1.263, allocations: 441.5 kB / 1.309 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/1.264, allocations: 153.5 kB / 1.309 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of SimCode: time 1.583e-06/1.264, allocations: 2.734 kB / 1.309 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of Templates: time 0.06014/1.324, allocations: 26.46 MB / 1.335 GB, free: 10.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches