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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001127/0.001127, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.8 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 66.44 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3379, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1813/0.5192, allocations: 166 MB / 1.214 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02263/0.5419, allocations: 17.1 MB / 1.231 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.5442, allocations: 27.81 kB / 1.231 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.5465, allocations: 469.1 kB / 1.231 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.5517, allocations: 1.45 MB / 1.233 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.5557, allocations: 1.172 MB / 1.234 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004236/0.56, allocations: 2.84 MB / 1.237 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.5632, allocations: 1.744 MB / 1.238 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/0.5688, allocations: 1.19 MB / 1.24 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.5705, allocations: 0.9489 MB / 1.24 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005432/0.571, allocations: 112 kB / 1.241 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003516/0.5746, allocations: 1.466 MB / 1.242 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000809/0.5754, allocations: 470.3 kB / 1.242 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00191/0.5773, allocations: 0.9482 MB / 1.243 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.582, allocations: 3.038 MB / 1.246 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.582, allocations: 0 / 1.246 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.996e-06/0.582, allocations: 0 / 1.246 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001057/0.5821, allocations: 3.938 kB / 1.246 GB, free: 1.184 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.5308/1.113, allocations: 2.268 MB / 1.249 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.113, allocations: 9.219 kB / 1.249 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003861/1.117, allocations: 0.5085 MB / 1.249 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/1.119, allocations: 1.093 MB / 1.25 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.119, allocations: 127.4 kB / 1.25 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/1.119, allocations: 165.9 kB / 1.25 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003281/1.122, allocations: 1.844 MB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/1.122, allocations: 0 / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/1.123, allocations: 77.69 kB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/1.123, allocations: 41.59 kB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00291/1.126, allocations: 1.878 MB / 1.254 GB, free: 194.1 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.008466/1.134, allocations: 5.542 MB / 1.26 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/1.137, allocations: 1.767 MB / 1.261 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/1.138, allocations: 0.6418 MB / 1.262 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000724/1.139, allocations: 0.8156 MB / 1.263 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/1.14, allocations: 0.8966 MB / 1.264 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.135e-06/1.14, allocations: 0.7812 kB / 1.264 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006823/1.147, allocations: 2.55 MB / 1.266 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/1.147, allocations: 203.1 kB / 1.266 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/1.149, allocations: 0.8299 MB / 1.267 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002069/1.149, allocations: 58.53 kB / 1.267 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005322/1.149, allocations: 0.6367 MB / 1.268 GB, free: 189 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/1.15, allocations: 488.5 kB / 1.268 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004359/1.15, allocations: 251.4 kB / 1.268 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.15, allocations: 360.4 kB / 1.269 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/1.152, allocations: 497.6 kB / 1.269 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/1.153, allocations: 0.6405 MB / 1.27 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/1.156, allocations: 1.118 MB / 1.271 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/1.156, allocations: 0.5312 kB / 1.271 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004468/1.16, allocations: 1.544 MB / 1.273 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/1.16, allocations: 9.469 kB / 1.273 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.16, allocations: 5.469 kB / 1.273 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009987/1.161, allocations: 191.2 kB / 1.273 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.163, allocations: 340.2 kB / 1.273 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/1.167, allocations: 6.776 MB / 1.28 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/1.169, allocations: 174.7 kB / 1.28 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.169, allocations: 54.42 kB / 1.28 GB, free: 180.2 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.0008585/1.17, allocations: 383.6 kB / 1.28 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/1.17, allocations: 129 kB / 1.28 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/1.175, allocations: 1.854 MB / 1.282 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/1.175, allocations: 16.12 kB / 1.282 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.175, allocations: 9.938 kB / 1.282 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/1.175, allocations: 7.359 kB / 1.282 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007349/1.182, allocations: 3.437 MB / 1.286 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.182, allocations: 1.219 kB / 1.286 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.184, allocations: 317.9 kB / 1.286 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007909/1.184, allocations: 193.1 kB / 1.286 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.185, allocations: 46.72 kB / 1.286 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/1.189, allocations: 6.81 MB / 1.293 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.189, allocations: 0 / 1.293 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003821/1.192, allocations: 1.702 MB / 1.294 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007951/1.193, allocations: 405.8 kB / 1.295 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/1.194, allocations: 30.69 kB / 1.295 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.195, allocations: 134.1 kB / 1.295 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/1.195, allocations: 121.4 kB / 1.295 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.195, allocations: 67.64 kB / 1.295 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008511/1.196, allocations: 0.5782 MB / 1.296 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.196, allocations: 3.938 kB / 1.296 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001771/1.198, allocations: 0.6046 MB / 1.296 GB, free: 168.6 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.001679/1.2, allocations: 0.7168 MB / 1.297 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0031/1.203, allocations: 1.862 MB / 1.299 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.203, allocations: 3.531 kB / 1.299 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/1.205, allocations: 1.304 MB / 1.3 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/1.207, allocations: 0.4904 MB / 1.301 GB, free: 166 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/1.212, allocations: 3.555 MB / 1.304 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/1.213, allocations: 1.296 MB / 1.305 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001772/1.215, allocations: 443.1 kB / 1.306 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/1.215, allocations: 149.7 kB / 1.306 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.215, allocations: 4 kB / 1.306 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03771/1.253, allocations: 26.63 MB / 1.332 GB, free: 137.3 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