Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001019/0.001019, allocations: 72.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.00089/0.00089, allocations: 177.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.8481/0.8481, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.65/1.65, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.874e-05, allocations: 10.22 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.5704/0.5704, allocations: 148.3 MB / 1.127 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.5855, allocations: 16.17 MB / 1.143 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.5868, allocations: 42.81 kB / 1.143 GB, free: 2.043 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.588, allocations: 0.5636 MB / 1.143 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.5917, allocations: 1.881 MB / 1.145 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.5947, allocations: 1.487 MB / 1.147 GB, free: 15.86 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.5977, allocations: 2.967 MB / 1.15 GB, free: 14.37 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.5996, allocations: 1.602 MB / 1.151 GB, free: 13.53 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.6028, allocations: 1.998 MB / 1.153 GB, free: 12.68 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.6039, allocations: 0.9377 MB / 1.154 GB, free: 12.34 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.6042, allocations: 228.8 kB / 1.154 GB, free: 12.34 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/0.6072, allocations: 1.474 MB / 1.156 GB, free: 11.91 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006223/0.6078, allocations: 0.838 MB / 1.156 GB, free: 11.46 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007557/0.6085, allocations: 0.8465 MB / 1.157 GB, free: 11.06 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004353/0.6129, allocations: 3.837 MB / 1.161 GB, free: 9.598 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6129, allocations: 1.5 kB / 1.161 GB, free: 9.598 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6129, allocations: 0 / 1.161 GB, free: 9.598 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.817e-05/0.6129, allocations: 3.938 kB / 1.161 GB, free: 9.594 MB / 1.01 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.003532/0.6165, allocations: 2.793 MB / 1.164 GB, free: 7.844 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.6165, allocations: 13.56 kB / 1.164 GB, free: 7.84 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.6187, allocations: 0.6201 MB / 1.164 GB, free: 7.676 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.6207, allocations: 1.584 MB / 1.166 GB, free: 6.84 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.947e-05/0.6208, allocations: 134 kB / 1.166 GB, free: 6.781 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.621, allocations: 174.4 kB / 1.166 GB, free: 6.727 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.6237, allocations: 2.719 MB / 1.169 GB, free: 5.016 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.6237, allocations: 4.812 kB / 1.169 GB, free: 5.012 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.6238, allocations: 78.53 kB / 1.169 GB, free: 4.953 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.6239, allocations: 43.19 kB / 1.169 GB, free: 4.953 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.6263, allocations: 2.043 MB / 1.171 GB, free: 4.418 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005493/0.6318, allocations: 4.411 MB / 1.175 GB, free: 2.234 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.6343, allocations: 1.743 MB / 1.177 GB, free: 1.672 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009858/0.6353, allocations: 0.7187 MB / 1.178 GB, free: 1.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003394/0.6356, allocations: 118 kB / 1.178 GB, free: 1.414 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.6374, allocations: 1.628 MB / 1.179 GB, free: 312 kB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.158e-06/0.6374, allocations: 0 / 1.179 GB, free: 312 kB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.0045/0.6419, allocations: 2.615 MB / 1.182 GB, free: 15.43 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/0.642, allocations: 207.3 kB / 1.182 GB, free: 15.2 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.6438, allocations: 1.716 MB / 1.184 GB, free: 14.61 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.6439, allocations: 67.23 kB / 1.184 GB, free: 14.55 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005435/0.6444, allocations: 0.8542 MB / 1.185 GB, free: 13.89 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.6448, allocations: 0.5137 MB / 1.185 GB, free: 13.47 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.6451, allocations: 274.3 kB / 1.186 GB, free: 13.35 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6452, allocations: 354.5 kB / 1.186 GB, free: 13.03 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007701/0.646, allocations: 0.6214 MB / 1.186 GB, free: 12.82 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.647, allocations: 1.264 MB / 1.188 GB, free: 11.91 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.6485, allocations: 1.392 MB / 1.189 GB, free: 11.36 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.6485, allocations: 0 / 1.189 GB, free: 11.36 MB / 1.026 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002276/0.6508, allocations: 1.887 MB / 1.191 GB, free: 10.64 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.6508, allocations: 9.906 kB / 1.191 GB, free: 10.63 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6508, allocations: 0 / 1.191 GB, free: 10.63 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005307/0.6513, allocations: 227 kB / 1.191 GB, free: 10.55 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.6521, allocations: 339.6 kB / 1.191 GB, free: 10.52 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/0.6556, allocations: 6.677 MB / 1.198 GB, free: 3.98 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/0.6564, allocations: 156.3 kB / 1.198 GB, free: 3.883 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.6565, allocations: 61.23 kB / 1.198 GB, free: 3.859 MB / 1.026 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.000668/0.6571, allocations: 0.4907 MB / 1.199 GB, free: 3.523 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.6573, allocations: 178.2 kB / 1.199 GB, free: 3.43 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.6598, allocations: 2.175 MB / 1.201 GB, free: 2.246 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.6598, allocations: 16.31 kB / 1.201 GB, free: 2.246 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6598, allocations: 1.969 kB / 1.201 GB, free: 2.246 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.6598, allocations: 7.969 kB / 1.201 GB, free: 2.238 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.6639, allocations: 3.743 MB / 1.205 GB, free: 48 kB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.6639, allocations: 0 / 1.205 GB, free: 48 kB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.6646, allocations: 317.7 kB / 1.205 GB, free: 15.97 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004051/0.665, allocations: 205.8 kB / 1.205 GB, free: 15.86 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/0.665, allocations: 45.25 kB / 1.205 GB, free: 15.82 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.6684, allocations: 6.698 MB / 1.212 GB, free: 9.184 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6684, allocations: 0 / 1.212 GB, free: 9.184 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.6707, allocations: 2.043 MB / 1.214 GB, free: 8.117 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005237/0.6712, allocations: 402 kB / 1.214 GB, free: 7.832 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.6714, allocations: 34.53 kB / 1.214 GB, free: 7.809 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.6719, allocations: 121.8 kB / 1.214 GB, free: 7.742 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.6721, allocations: 124.1 kB / 1.214 GB, free: 7.66 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6722, allocations: 66.58 kB / 1.214 GB, free: 7.637 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001198/0.6734, allocations: 1.227 MB / 1.216 GB, free: 7.02 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.6734, allocations: 0 / 1.216 GB, free: 7.02 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001687/0.6751, allocations: 0.7073 MB / 1.216 GB, free: 6.828 MB / 1.042 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 (157): * Single equations (assignments): 142 * 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.001392/0.6765, allocations: 0.8146 MB / 1.217 GB, free: 6.457 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.002141/0.6786, allocations: 2.096 MB / 1.219 GB, free: 5.207 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6786, allocations: 2.625 kB / 1.219 GB, free: 5.207 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.6798, allocations: 1.373 MB / 1.22 GB, free: 4.266 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.6811, allocations: 0.512 MB / 1.221 GB, free: 3.926 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/0.6853, allocations: 3.749 MB / 1.225 GB, free: 140 kB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.6864, allocations: 0.9126 MB / 1.226 GB, free: 15.19 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.6868, allocations: 196.4 kB / 1.226 GB, free: 15 MB / 1.057 GB Notification: Performance of SimCode: time 1.533e-06/0.6868, allocations: 0 / 1.226 GB, free: 15 MB / 1.057 GB Notification: Performance of Templates: time 0.04779/0.7346, allocations: 68.64 MB / 1.293 GB, free: 10.4 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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.431901545263827]