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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008162/0.0008162, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8523/0.8523, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.309e-05, allocations: 10.16 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6342/0.6342, allocations: 155.7 MB / 1.153 GB, free: 2.449 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.647, allocations: 10.29 MB / 1.163 GB, free: 11.5 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/0.648, allocations: 44.62 kB / 1.163 GB, free: 11.48 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.649, allocations: 423 kB / 1.163 GB, free: 11.2 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.6515, allocations: 1.148 MB / 1.165 GB, free: 10.53 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.6554, allocations: 1.794 MB / 1.166 GB, free: 9.586 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002342/0.6577, allocations: 2.431 MB / 1.169 GB, free: 8.359 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.6589, allocations: 1.052 MB / 1.17 GB, free: 7.816 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.6619, allocations: 1.854 MB / 1.172 GB, free: 6.992 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007561/0.6627, allocations: 0.68 MB / 1.172 GB, free: 6.742 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.6629, allocations: 163.2 kB / 1.172 GB, free: 6.742 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.6652, allocations: 1.288 MB / 1.174 GB, free: 6.34 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.6655, allocations: 485 kB / 1.174 GB, free: 6.055 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.666, allocations: 0.5469 MB / 1.175 GB, free: 5.793 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.6692, allocations: 2.794 MB / 1.177 GB, free: 4.707 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6692, allocations: 0.5156 kB / 1.177 GB, free: 4.707 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6692, allocations: 0 / 1.177 GB, free: 4.707 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.6692, allocations: 5.562 kB / 1.177 GB, free: 4.703 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002453/0.6717, allocations: 1.89 MB / 1.179 GB, free: 3.492 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.6717, allocations: 9.844 kB / 1.179 GB, free: 3.492 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.6731, allocations: 407.1 kB / 1.18 GB, free: 3.391 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.6744, allocations: 0.9301 MB / 1.18 GB, free: 2.84 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.6744, allocations: 93.09 kB / 1.181 GB, free: 2.797 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.6746, allocations: 121.6 kB / 1.181 GB, free: 2.758 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.6765, allocations: 1.701 MB / 1.182 GB, free: 1.707 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.6765, allocations: 3.938 kB / 1.182 GB, free: 1.703 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.6766, allocations: 52.31 kB / 1.182 GB, free: 1.664 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.6766, allocations: 28.69 kB / 1.182 GB, free: 1.664 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.6784, allocations: 1.41 MB / 1.184 GB, free: 1.289 MB / 1.026 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.003737/0.6821, allocations: 3.006 MB / 1.187 GB, free: 15.66 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.6836, allocations: 1.115 MB / 1.188 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.6842, allocations: 434 kB / 1.188 GB, free: 15.06 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.6845, allocations: 115.8 kB / 1.188 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009139/0.6854, allocations: 0.898 MB / 1.189 GB, free: 14.51 MB / 1.042 GB Notification: Performance of pre-optimization done (n=114): time 3.226e-06/0.6854, allocations: 0 / 1.189 GB, free: 14.51 MB / 1.042 GB Notification: Performance of matching and sorting (n=114): time 0.002592/0.688, allocations: 1.568 MB / 1.191 GB, free: 13.95 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/0.6881, allocations: 206.9 kB / 1.191 GB, free: 13.72 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007439/0.6889, allocations: 0.7452 MB / 1.192 GB, free: 13.4 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.703e-05/0.6889, allocations: 56.94 kB / 1.192 GB, free: 13.35 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.6893, allocations: 0.5365 MB / 1.192 GB, free: 12.93 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.6895, allocations: 391.2 kB / 1.193 GB, free: 12.62 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.6897, allocations: 226.3 kB / 1.193 GB, free: 12.52 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6898, allocations: 351.7 kB / 1.193 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/0.6904, allocations: 408.3 kB / 1.194 GB, free: 12.05 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.6911, allocations: 0.7145 MB / 1.194 GB, free: 11.59 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.6922, allocations: 0.9161 MB / 1.195 GB, free: 11.17 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6922, allocations: 0 / 1.195 GB, free: 11.17 MB / 1.042 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001865/0.6941, allocations: 1.237 MB / 1.196 GB, free: 10.68 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6941, allocations: 9.281 kB / 1.196 GB, free: 10.68 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6941, allocations: 2.281 kB / 1.196 GB, free: 10.68 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.6945, allocations: 90.2 kB / 1.196 GB, free: 10.65 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.695, allocations: 239.3 kB / 1.197 GB, free: 10.63 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.6964, allocations: 1.509 MB / 1.198 GB, free: 9.219 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.6969, allocations: 116.5 kB / 1.198 GB, free: 9.141 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.697, allocations: 56.7 kB / 1.198 GB, free: 9.117 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (141): * Single equations (assignments): 140 * 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.0004225/0.6974, allocations: 345.1 kB / 1.199 GB, free: 8.859 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.6975, allocations: 111.2 kB / 1.199 GB, free: 8.801 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.6995, allocations: 1.52 MB / 1.2 GB, free: 7.941 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.6995, allocations: 19.53 kB / 1.2 GB, free: 7.934 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6995, allocations: 0 / 1.2 GB, free: 7.934 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6996, allocations: 9.062 kB / 1.2 GB, free: 7.926 MB / 1.042 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.003066/0.7026, allocations: 2.504 MB / 1.203 GB, free: 6.348 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7026, allocations: 2.719 kB / 1.203 GB, free: 6.348 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.7031, allocations: 210.1 kB / 1.203 GB, free: 6.293 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/0.7033, allocations: 78.41 kB / 1.203 GB, free: 6.254 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/0.7034, allocations: 34.56 kB / 1.203 GB, free: 6.23 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.7045, allocations: 1.549 MB / 1.205 GB, free: 4.766 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7045, allocations: 0 / 1.205 GB, free: 4.766 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.7066, allocations: 1.906 MB / 1.206 GB, free: 3.699 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/0.7073, allocations: 253.4 kB / 1.207 GB, free: 3.516 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.7074, allocations: 30.3 kB / 1.207 GB, free: 3.496 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.7079, allocations: 75.02 kB / 1.207 GB, free: 3.461 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.708, allocations: 95.58 kB / 1.207 GB, free: 3.398 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.7081, allocations: 51.97 kB / 1.207 GB, free: 3.379 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0005023/0.7086, allocations: 0.5326 MB / 1.207 GB, free: 3.074 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7086, allocations: 3.938 kB / 1.207 GB, free: 3.07 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.00127/0.7098, allocations: 489.3 kB / 1.208 GB, free: 2.93 MB / 1.042 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001348/0.7112, allocations: 0.748 MB / 1.209 GB, free: 2.586 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.7127, allocations: 1.101 MB / 1.21 GB, free: 2.031 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7127, allocations: 10.83 kB / 1.21 GB, free: 2.023 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006959/0.7134, allocations: 0.6206 MB / 1.21 GB, free: 1.68 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.7145, allocations: 429.6 kB / 1.211 GB, free: 1.457 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.7177, allocations: 2.407 MB / 1.213 GB, free: 15.96 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.7182, allocations: 0.5821 MB / 1.214 GB, free: 15.64 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.7185, allocations: 150.5 kB / 1.214 GB, free: 15.6 MB / 1.057 GB Notification: Performance of SimCode: time 9.32e-07/0.7185, allocations: 0 / 1.214 GB, free: 15.6 MB / 1.057 GB Notification: Performance of Templates: time 0.02507/0.7436, allocations: 26.8 MB / 1.24 GB, free: 6.52 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.584225012920797]