Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001294/0.001294, 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.001332/0.001332, 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.8559/0.8559, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.693/1.693, allocations: 377.9 MB / 0.6228 GB, free: 8.648 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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.163e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.5932/0.5932, allocations: 155.3 MB / 1.134 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.6096, allocations: 14.63 MB / 1.148 GB, free: 14.3 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.6114, allocations: 39.91 kB / 1.148 GB, free: 14.29 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.613, allocations: 0.6105 MB / 1.149 GB, free: 13.91 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.6178, allocations: 1.671 MB / 1.15 GB, free: 12.95 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.6222, allocations: 1.749 MB / 1.152 GB, free: 12.02 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004739/0.6269, allocations: 3.026 MB / 1.155 GB, free: 10.49 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.6295, allocations: 1.48 MB / 1.157 GB, free: 9.719 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005408/0.6349, allocations: 2.176 MB / 1.159 GB, free: 8.781 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.6365, allocations: 0.8664 MB / 1.159 GB, free: 8.469 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004082/0.637, allocations: 206.4 kB / 1.16 GB, free: 8.469 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.6398, allocations: 1.245 MB / 1.161 GB, free: 8.094 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000545/0.6403, allocations: 0.6081 MB / 1.162 GB, free: 7.727 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.6414, allocations: 0.7216 MB / 1.162 GB, free: 7.395 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005417/0.6469, allocations: 3.241 MB / 1.165 GB, free: 6.125 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.6469, allocations: 0 / 1.165 GB, free: 6.125 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.424e-06/0.6469, allocations: 0 / 1.165 GB, free: 6.125 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001123/0.647, allocations: 1.406 kB / 1.165 GB, free: 6.125 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004801/0.6518, allocations: 2.324 MB / 1.168 GB, free: 4.68 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6518, allocations: 9.344 kB / 1.168 GB, free: 4.68 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.654, allocations: 0.5136 MB / 1.168 GB, free: 4.547 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.6559, allocations: 1.096 MB / 1.169 GB, free: 3.883 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/0.656, allocations: 124.1 kB / 1.169 GB, free: 3.828 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.6562, allocations: 165.9 kB / 1.169 GB, free: 3.773 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.6589, allocations: 2.446 MB / 1.172 GB, free: 2.188 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.6589, allocations: 0.875 kB / 1.172 GB, free: 2.188 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.659, allocations: 71.39 kB / 1.172 GB, free: 2.137 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.6591, allocations: 48.88 kB / 1.172 GB, free: 2.133 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.6614, allocations: 1.724 MB / 1.174 GB, free: 1.66 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006126/0.6676, allocations: 4.442 MB / 1.178 GB, free: 14.99 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.6695, allocations: 1.309 MB / 1.179 GB, free: 14.5 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.6702, allocations: 0.5461 MB / 1.18 GB, free: 14.29 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003808/0.6705, allocations: 132.7 kB / 1.18 GB, free: 14.27 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/0.6718, allocations: 1.302 MB / 1.181 GB, free: 13.36 MB / 1.026 GB Notification: Performance of pre-optimization done (n=134): time 3.947e-06/0.6718, allocations: 0.8438 kB / 1.181 GB, free: 13.36 MB / 1.026 GB Notification: Performance of matching and sorting (n=134): time 0.003459/0.6753, allocations: 1.853 MB / 1.183 GB, free: 12.7 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.6754, allocations: 204.3 kB / 1.183 GB, free: 12.47 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.6765, allocations: 0.8413 MB / 1.184 GB, free: 12.1 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.6766, allocations: 62.73 kB / 1.184 GB, free: 12.05 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.6771, allocations: 0.6844 MB / 1.185 GB, free: 11.52 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.6775, allocations: 459.1 kB / 1.185 GB, free: 11.15 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.6777, allocations: 252.3 kB / 1.185 GB, free: 11.04 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6778, allocations: 361.7 kB / 1.186 GB, free: 10.71 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/0.6785, allocations: 471.1 kB / 1.186 GB, free: 10.54 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008479/0.6794, allocations: 0.834 MB / 1.187 GB, free: 9.992 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.6808, allocations: 1.079 MB / 1.188 GB, free: 9.484 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6808, allocations: 1.25 kB / 1.188 GB, free: 9.484 MB / 1.026 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002376/0.6832, allocations: 1.412 MB / 1.19 GB, free: 8.926 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.6832, allocations: 9.688 kB / 1.19 GB, free: 8.926 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6832, allocations: 3.688 kB / 1.19 GB, free: 8.926 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.6836, allocations: 84.67 kB / 1.19 GB, free: 8.906 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.6844, allocations: 306.1 kB / 1.19 GB, free: 8.875 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.686, allocations: 1.516 MB / 1.191 GB, free: 7.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.6871, allocations: 121.7 kB / 1.191 GB, free: 7.438 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/0.6872, allocations: 59.22 kB / 1.192 GB, free: 7.426 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (157): * Single equations (assignments): 156 * 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.001003/0.6882, allocations: 390.9 kB / 1.192 GB, free: 7.16 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.6884, allocations: 143.5 kB / 1.192 GB, free: 7.082 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.6907, allocations: 1.63 MB / 1.194 GB, free: 6.438 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.6907, allocations: 16.31 kB / 1.194 GB, free: 6.438 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6907, allocations: 0 / 1.194 GB, free: 6.438 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.6907, allocations: 6.75 kB / 1.194 GB, free: 6.438 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.6948, allocations: 2.925 MB / 1.197 GB, free: 4.938 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6948, allocations: 7.984 kB / 1.197 GB, free: 4.93 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007106/0.6956, allocations: 275.6 kB / 1.197 GB, free: 4.867 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/0.6958, allocations: 75.75 kB / 1.197 GB, free: 4.828 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.6959, allocations: 35.12 kB / 1.197 GB, free: 4.805 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.6971, allocations: 1.544 MB / 1.198 GB, free: 3.348 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6971, allocations: 0 / 1.198 GB, free: 3.348 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.7001, allocations: 2.218 MB / 1.201 GB, free: 2.148 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/0.7007, allocations: 310.8 kB / 1.201 GB, free: 1.922 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.7009, allocations: 32.17 kB / 1.201 GB, free: 1.898 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.7014, allocations: 86.42 kB / 1.201 GB, free: 1.855 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7016, allocations: 107 kB / 1.201 GB, free: 1.789 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.7017, allocations: 61.14 kB / 1.201 GB, free: 1.766 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0006261/0.7023, allocations: 0.5821 MB / 1.202 GB, free: 1.422 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7023, allocations: 0 / 1.202 GB, free: 1.422 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001462/0.7037, allocations: 0.5862 MB / 1.202 GB, free: 1.242 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (145): * Single equations (assignments): 134 * 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.001404/0.7051, allocations: 0.7581 MB / 1.203 GB, free: 0.8945 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.7072, allocations: 1.282 MB / 1.204 GB, free: 252 kB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7072, allocations: 0.9375 kB / 1.204 GB, free: 252 kB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.708, allocations: 0.7279 MB / 1.205 GB, free: 15.85 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.7095, allocations: 0.4916 MB / 1.205 GB, free: 15.59 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.7137, allocations: 2.936 MB / 1.208 GB, free: 13.85 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.7143, allocations: 0.7393 MB / 1.209 GB, free: 13.45 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/0.715, allocations: 176 kB / 1.209 GB, free: 13.39 MB / 1.042 GB Notification: Performance of SimCode: time 1.323e-06/0.715, allocations: 0 / 1.209 GB, free: 13.39 MB / 1.042 GB Notification: Performance of Templates: time 0.03632/0.7513, allocations: 32.18 MB / 1.241 GB, free: 0.7734 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.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.915655735880136]