Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.0011/0.0011, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.001119/0.001119, allocations: 177.9 kB / 23.21 MB, free: 1.336 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.919/0.919, allocations: 177.2 MB / 203.5 MB, free: 5.496 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.752/1.752, allocations: 389 MB / 0.6338 GB, free: 12.71 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_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.515e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.6614/0.6615, allocations: 148.2 MB / 1.146 GB, free: 7.461 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01609/0.6776, allocations: 16.12 MB / 1.161 GB, free: 12.63 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.6788, allocations: 42.62 kB / 1.161 GB, free: 12.61 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.6801, allocations: 0.5668 MB / 1.162 GB, free: 12.26 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003718/0.6838, allocations: 1.871 MB / 1.164 GB, free: 11.23 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.6865, allocations: 1.473 MB / 1.165 GB, free: 10.43 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002326/0.6888, allocations: 2.968 MB / 1.168 GB, free: 8.93 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.6903, allocations: 1.511 MB / 1.17 GB, free: 8.137 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.693, allocations: 2.007 MB / 1.172 GB, free: 7.281 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009974/0.694, allocations: 0.9332 MB / 1.173 GB, free: 6.949 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.6942, allocations: 228 kB / 1.173 GB, free: 6.949 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.6968, allocations: 1.482 MB / 1.174 GB, free: 6.516 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0006427/0.6975, allocations: 0.829 MB / 1.175 GB, free: 6.066 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0007718/0.6982, allocations: 0.8437 MB / 1.176 GB, free: 5.672 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.7026, allocations: 3.837 MB / 1.18 GB, free: 4.203 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7026, allocations: 0 / 1.18 GB, free: 4.203 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7026, allocations: 0 / 1.18 GB, free: 4.203 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.801e-05/0.7026, allocations: 0 / 1.18 GB, free: 4.203 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.003513/0.7062, allocations: 2.773 MB / 1.182 GB, free: 2.469 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7062, allocations: 10.03 kB / 1.182 GB, free: 2.469 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.7084, allocations: 0.6231 MB / 1.183 GB, free: 2.301 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.7104, allocations: 1.564 MB / 1.184 GB, free: 1.469 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.846e-05/0.7105, allocations: 138 kB / 1.185 GB, free: 1.41 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.7107, allocations: 177.1 kB / 1.185 GB, free: 1.352 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.7134, allocations: 2.725 MB / 1.187 GB, free: 15.64 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.7134, allocations: 5 kB / 1.187 GB, free: 15.63 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.7136, allocations: 78 kB / 1.187 GB, free: 15.57 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.7136, allocations: 41.56 kB / 1.187 GB, free: 15.57 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.7162, allocations: 2.04 MB / 1.189 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.7224, allocations: 4.413 MB / 1.194 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.7247, allocations: 1.735 MB / 1.195 GB, free: 12.02 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008763/0.7256, allocations: 0.7142 MB / 1.196 GB, free: 11.68 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/0.7259, allocations: 123.7 kB / 1.196 GB, free: 11.64 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.7273, allocations: 1.629 MB / 1.198 GB, free: 10.3 MB / 1.042 GB Notification: Performance of pre-optimization done (n=154): time 3.417e-06/0.7273, allocations: 0 / 1.198 GB, free: 10.3 MB / 1.042 GB Notification: Performance of matching and sorting (n=154): time 0.003797/0.7311, allocations: 2.614 MB / 1.2 GB, free: 9.086 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.7312, allocations: 212.3 kB / 1.201 GB, free: 8.852 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.7327, allocations: 1.703 MB / 1.202 GB, free: 7.996 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.636e-05/0.7328, allocations: 64.14 kB / 1.202 GB, free: 7.941 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/0.7333, allocations: 0.8501 MB / 1.203 GB, free: 7.195 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/0.7336, allocations: 0.5164 MB / 1.204 GB, free: 6.734 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.7339, allocations: 269 kB / 1.204 GB, free: 6.578 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.734, allocations: 359.1 kB / 1.204 GB, free: 6.234 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/0.7347, allocations: 0.6157 MB / 1.205 GB, free: 5.953 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.7357, allocations: 1.277 MB / 1.206 GB, free: 4.922 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.7371, allocations: 1.379 MB / 1.207 GB, free: 4.262 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7371, allocations: 3.938 kB / 1.207 GB, free: 4.258 MB / 1.042 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002269/0.7394, allocations: 1.898 MB / 1.209 GB, free: 3.32 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7394, allocations: 5.125 kB / 1.209 GB, free: 3.32 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7394, allocations: 6.906 kB / 1.209 GB, free: 3.316 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.74, allocations: 213.5 kB / 1.21 GB, free: 3.199 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007843/0.7408, allocations: 344.1 kB / 1.21 GB, free: 3.113 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.7443, allocations: 6.689 MB / 1.216 GB, free: 12.48 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009022/0.7452, allocations: 157 kB / 1.217 GB, free: 12.38 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.7453, allocations: 56.73 kB / 1.217 GB, free: 12.36 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (165): * Single equations (assignments): 160 * 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.0008634/0.7462, allocations: 492.5 kB / 1.217 GB, free: 12.03 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.7464, allocations: 180.1 kB / 1.217 GB, free: 11.93 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.749, allocations: 2.153 MB / 1.219 GB, free: 10.77 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.749, allocations: 16.28 kB / 1.219 GB, free: 10.77 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.749, allocations: 6.891 kB / 1.219 GB, free: 10.77 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.749, allocations: 7.969 kB / 1.219 GB, free: 10.76 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/0.7533, allocations: 3.726 MB / 1.223 GB, free: 7.121 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.7533, allocations: 0 / 1.223 GB, free: 7.121 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007012/0.754, allocations: 315.6 kB / 1.223 GB, free: 6.812 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004139/0.7544, allocations: 208.1 kB / 1.224 GB, free: 6.594 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/0.7545, allocations: 43.97 kB / 1.224 GB, free: 6.551 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.7578, allocations: 6.697 MB / 1.23 GB, free: 15.33 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7578, allocations: 3.938 kB / 1.23 GB, free: 15.33 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.7601, allocations: 2.039 MB / 1.232 GB, free: 13.26 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/0.7607, allocations: 394.2 kB / 1.232 GB, free: 12.87 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.7608, allocations: 36 kB / 1.233 GB, free: 12.84 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.7614, allocations: 106.5 kB / 1.233 GB, free: 12.73 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.7616, allocations: 117.8 kB / 1.233 GB, free: 12.62 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.921e-05/0.7617, allocations: 72.09 kB / 1.233 GB, free: 12.55 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001131/0.7629, allocations: 1.219 MB / 1.234 GB, free: 11.33 MB / 1.073 GB Notification: Performance of sort global known variables: time 4e-08/0.7629, allocations: 0 / 1.234 GB, free: 11.33 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001738/0.7646, allocations: 0.7053 MB / 1.235 GB, free: 10.62 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001386/0.766, allocations: 0.8158 MB / 1.235 GB, free: 10.01 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.7681, allocations: 2.084 MB / 1.238 GB, free: 7.859 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7681, allocations: 0.8906 kB / 1.238 GB, free: 7.859 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.7693, allocations: 1.375 MB / 1.239 GB, free: 6.422 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.7705, allocations: 0.497 MB / 1.239 GB, free: 5.941 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.7748, allocations: 3.732 MB / 1.243 GB, free: 2.18 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.7755, allocations: 0.9082 MB / 1.244 GB, free: 1.23 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.7759, allocations: 192.4 kB / 1.244 GB, free: 1.039 MB / 1.073 GB Notification: Performance of SimCode: time 1.222e-06/0.7759, allocations: 0 / 1.244 GB, free: 1.039 MB / 1.073 GB Notification: Performance of Templates: time 0.04449/0.8204, allocations: 68.23 MB / 1.311 GB, free: 12.84 MB / 1.151 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,weaDat.weaBus.winDir,north.pWin,west.pWin,east.pWin,south.pWin Variables in the result:east.pWin,north.pWin,south.pWin,time,weaDat.weaBus.winDir,west.pWin [Calling sys.exit(0), Time elapsed: 10.782134669832885]