Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001649/0.001649, allocations: 200.7 kB / 16.26 MB, free: 6.621 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 482.4 MB / 0.7543 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 66.95 kB / 0.9233 GB, free: 29.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3953, allocations: 162.2 MB / 1.082 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.9753/1.371, allocations: 174.2 MB / 1.252 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01559/1.386, allocations: 10.78 MB / 1.262 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/1.388, allocations: 30.12 kB / 1.262 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/1.39, allocations: 337.5 kB / 1.263 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004117/1.394, allocations: 0.9922 MB / 1.264 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005265/1.399, allocations: 1.552 MB / 1.265 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004147/1.403, allocations: 2.371 MB / 1.268 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/1.406, allocations: 1.398 MB / 1.269 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00573/1.411, allocations: 1.39 MB / 1.27 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/1.413, allocations: 0.8166 MB / 1.271 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002858/1.414, allocations: 156.2 kB / 1.271 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/1.417, allocations: 1.414 MB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000547/1.418, allocations: 455.8 kB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/1.419, allocations: 0.7894 MB / 1.274 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005442/1.424, allocations: 2.59 MB / 1.276 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/1.424, allocations: 3.625 kB / 1.276 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.946e-06/1.425, allocations: 0 / 1.276 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.994e-05/1.425, allocations: 3.938 kB / 1.276 GB, free: 6.68 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004748/1.429, allocations: 1.883 MB / 1.278 GB, free: 21.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.429, allocations: 8.5 kB / 1.278 GB, free: 21.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/1.432, allocations: 356.9 kB / 1.278 GB, free: 21.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/1.433, allocations: 0.9427 MB / 1.279 GB, free: 21.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/1.434, allocations: 86.66 kB / 1.279 GB, free: 21.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/1.434, allocations: 121 kB / 1.28 GB, free: 21.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/1.436, allocations: 1.299 MB / 1.281 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/1.436, allocations: 1.344 kB / 1.281 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/1.437, allocations: 52.62 kB / 1.281 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/1.437, allocations: 29.25 kB / 1.281 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/1.44, allocations: 1.45 MB / 1.282 GB, free: 21.08 MB / 1.014 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.00745/1.447, allocations: 4.105 MB / 1.286 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/1.449, allocations: 1.214 MB / 1.288 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/1.45, allocations: 448.3 kB / 1.288 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008454/1.451, allocations: 427.9 kB / 1.288 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/1.452, allocations: 0.6581 MB / 1.289 GB, free: 18.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 5.34e-06/1.452, allocations: 5.078 kB / 1.289 GB, free: 18.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=106): time 0.00429/1.457, allocations: 1.608 MB / 1.291 GB, free: 18.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/1.457, allocations: 195.9 kB / 1.291 GB, free: 18.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/1.458, allocations: 0.8838 MB / 1.292 GB, free: 18.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/1.458, allocations: 50.58 kB / 1.292 GB, free: 18.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/1.459, allocations: 0.5131 MB / 1.292 GB, free: 18.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/1.459, allocations: 351.7 kB / 1.293 GB, free: 17.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/1.459, allocations: 215.1 kB / 1.293 GB, free: 17.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.459, allocations: 342.5 kB / 1.293 GB, free: 17.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/1.46, allocations: 384.4 kB / 1.293 GB, free: 17.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/1.461, allocations: 0.5067 MB / 1.294 GB, free: 17.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/1.463, allocations: 0.8761 MB / 1.295 GB, free: 17.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.463, allocations: 1.656 kB / 1.295 GB, free: 17.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002784/1.465, allocations: 1.168 MB / 1.296 GB, free: 17.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/1.466, allocations: 7.094 kB / 1.296 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.466, allocations: 2.344 kB / 1.296 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006325/1.466, allocations: 88.81 kB / 1.296 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.467, allocations: 234.2 kB / 1.296 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/1.47, allocations: 1.653 MB / 1.298 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.471, allocations: 137.2 kB / 1.298 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.471, allocations: 45.84 kB / 1.298 GB, free: 15.81 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * 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.0008778/1.472, allocations: 332.2 kB / 1.298 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/1.472, allocations: 123.4 kB / 1.298 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/1.476, allocations: 1.499 MB / 1.3 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/1.476, allocations: 12.22 kB / 1.3 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.476, allocations: 5.25 kB / 1.3 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/1.476, allocations: 7.344 kB / 1.3 GB, free: 15.49 MB / 1.014 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 postOpt removeSimpleEquations (simulation): time 0.005228/1.481, allocations: 2.825 MB / 1.303 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/1.481, allocations: 2.25 kB / 1.303 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009537/1.482, allocations: 204.2 kB / 1.303 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/1.483, allocations: 76.66 kB / 1.303 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-05/1.483, allocations: 36.08 kB / 1.303 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/1.485, allocations: 1.684 MB / 1.305 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.485, allocations: 1.969 kB / 1.305 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003904/1.489, allocations: 1.859 MB / 1.306 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008231/1.49, allocations: 342.8 kB / 1.307 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.49, allocations: 25.88 kB / 1.307 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009618/1.491, allocations: 88.55 kB / 1.307 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/1.491, allocations: 87.2 kB / 1.307 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.491, allocations: 47.58 kB / 1.307 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001118/1.492, allocations: 0.6257 MB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.492, allocations: 0 / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001766/1.494, allocations: 463.4 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * 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.002407/1.496, allocations: 0.7078 MB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003759/1.5, allocations: 1.374 MB / 1.31 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.5, allocations: 2.344 kB / 1.31 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.502, allocations: 0.658 MB / 1.311 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.504, allocations: 0.5267 MB / 1.311 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/1.509, allocations: 2.935 MB / 1.314 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/1.51, allocations: 1.157 MB / 1.315 GB, free: 10.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001609/1.511, allocations: 379.9 kB / 1.316 GB, free: 9.988 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/1.512, allocations: 134.6 kB / 1.316 GB, free: 9.98 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.512, allocations: 0 / 1.316 GB, free: 9.98 MB / 1.014 GB Notification: Performance of Templates: time 0.04553/1.557, allocations: 23.68 MB / 1.339 GB, free: 4.105 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches