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.001396/0.001396, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001567/0.001567, allocations: 210.6 kB / 22.99 MB, free: 4.957 MB / 14.72 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 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 70.11 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.382, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2108/0.5929, allocations: 155.4 MB / 1.479 GB, free: 5.023 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02323/0.6161, allocations: 14.67 MB / 1.493 GB, free: 6.305 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.6177, allocations: 39.69 kB / 1.493 GB, free: 6.266 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.6197, allocations: 0.5934 MB / 1.494 GB, free: 5.668 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005167/0.6248, allocations: 1.632 MB / 1.495 GB, free: 4.031 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.6295, allocations: 1.719 MB / 1.497 GB, free: 2.32 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004407/0.6339, allocations: 2.941 MB / 1.5 GB, free: 15.37 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.6366, allocations: 1.49 MB / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/0.6415, allocations: 1.688 MB / 1.503 GB, free: 12.16 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.6433, allocations: 1.062 MB / 1.504 GB, free: 11.09 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003861/0.6436, allocations: 200 kB / 1.504 GB, free: 10.89 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.6465, allocations: 1.252 MB / 1.505 GB, free: 9.641 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006561/0.6472, allocations: 0.5802 MB / 1.506 GB, free: 9.059 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.6484, allocations: 0.8556 MB / 1.507 GB, free: 8.199 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005112/0.6535, allocations: 3.086 MB / 1.51 GB, free: 5.102 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6535, allocations: 0 / 1.51 GB, free: 5.102 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6535, allocations: 0 / 1.51 GB, free: 5.102 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.898e-05/0.6536, allocations: 0 / 1.51 GB, free: 5.102 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004857/0.6584, allocations: 2.309 MB / 1.512 GB, free: 2.742 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.6585, allocations: 8.031 kB / 1.512 GB, free: 2.734 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004285/0.6627, allocations: 0.5217 MB / 1.513 GB, free: 2.211 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/0.6652, allocations: 1.069 MB / 1.514 GB, free: 1.102 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.6653, allocations: 119.2 kB / 1.514 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.6656, allocations: 164 kB / 1.514 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/0.6697, allocations: 2.412 MB / 1.516 GB, free: 14.18 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.6697, allocations: 3.938 kB / 1.516 GB, free: 14.18 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.6699, allocations: 75.92 kB / 1.516 GB, free: 14.1 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/0.67, allocations: 51.98 kB / 1.516 GB, free: 14.05 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.6733, allocations: 1.721 MB / 1.518 GB, free: 12.32 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00895/0.6822, allocations: 4.402 MB / 1.522 GB, free: 7.824 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.685, allocations: 1.253 MB / 1.524 GB, free: 6.562 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.6861, allocations: 0.515 MB / 1.524 GB, free: 6.043 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/0.6867, allocations: 136.9 kB / 1.524 GB, free: 5.91 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/0.6886, allocations: 1.283 MB / 1.526 GB, free: 4.492 MB / 1.217 GB Notification: Performance of pre-optimization done (n=126): time 4.177e-06/0.6886, allocations: 4 kB / 1.526 GB, free: 4.488 MB / 1.217 GB Notification: Performance of matching and sorting (n=126): time 0.00529/0.6939, allocations: 1.808 MB / 1.527 GB, free: 2.672 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.694, allocations: 200.9 kB / 1.527 GB, free: 2.434 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.6954, allocations: 0.8334 MB / 1.528 GB, free: 1.574 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.6956, allocations: 57.7 kB / 1.528 GB, free: 1.512 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/0.6963, allocations: 0.6886 MB / 1.529 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004285/0.6967, allocations: 440.2 kB / 1.529 GB, free: 388 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.6971, allocations: 226.8 kB / 1.53 GB, free: 152 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6973, allocations: 353.9 kB / 1.53 GB, free: 15.8 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009793/0.6983, allocations: 458.3 kB / 1.53 GB, free: 15.35 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.6995, allocations: 0.795 MB / 1.531 GB, free: 14.47 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.7016, allocations: 1.038 MB / 1.532 GB, free: 13.41 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.7016, allocations: 0 / 1.532 GB, free: 13.41 MB / 1.232 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003374/0.705, allocations: 1.34 MB / 1.534 GB, free: 12.05 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.705, allocations: 6.188 kB / 1.534 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.705, allocations: 8.156 kB / 1.534 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/0.7057, allocations: 84.77 kB / 1.534 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.7072, allocations: 295.6 kB / 1.534 GB, free: 11.67 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.7096, allocations: 1.516 MB / 1.535 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.711, allocations: 122 kB / 1.536 GB, free: 9.926 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.7111, allocations: 56.02 kB / 1.536 GB, free: 9.871 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * 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.0009531/0.7121, allocations: 379.4 kB / 1.536 GB, free: 9.488 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.7124, allocations: 139.2 kB / 1.536 GB, free: 9.352 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.7162, allocations: 1.597 MB / 1.538 GB, free: 7.742 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.7162, allocations: 12 kB / 1.538 GB, free: 7.73 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7162, allocations: 0 / 1.538 GB, free: 7.73 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.7162, allocations: 7.969 kB / 1.538 GB, free: 7.723 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.7223, allocations: 2.751 MB / 1.54 GB, free: 4.93 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7223, allocations: 4 kB / 1.54 GB, free: 4.926 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.7237, allocations: 271.7 kB / 1.541 GB, free: 4.66 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.7241, allocations: 76.78 kB / 1.541 GB, free: 4.582 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.794e-05/0.7242, allocations: 35.97 kB / 1.541 GB, free: 4.547 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.7266, allocations: 1.54 MB / 1.542 GB, free: 2.902 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7266, allocations: 0 / 1.542 GB, free: 2.902 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/0.7337, allocations: 2.17 MB / 1.544 GB, free: 0.707 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.7354, allocations: 314.6 kB / 1.545 GB, free: 408 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/0.7358, allocations: 27.94 kB / 1.545 GB, free: 380 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/0.7378, allocations: 83.98 kB / 1.545 GB, free: 296 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.7382, allocations: 101.1 kB / 1.545 GB, free: 196 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/0.7384, allocations: 63.89 kB / 1.545 GB, free: 132 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001473/0.7399, allocations: 0.5861 MB / 1.545 GB, free: 15.53 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7399, allocations: 0 / 1.545 GB, free: 15.53 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00291/0.7428, allocations: 0.5726 MB / 1.546 GB, free: 14.96 MB / 1.248 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: 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 (137): * Single equations (assignments): 131 * 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.00346/0.7462, allocations: 0.7302 MB / 1.547 GB, free: 14.43 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004725/0.751, allocations: 1.228 MB / 1.548 GB, free: 13.19 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.751, allocations: 4.438 kB / 1.548 GB, free: 13.19 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.7534, allocations: 0.7167 MB / 1.549 GB, free: 12.46 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/0.7572, allocations: 0.4997 MB / 1.549 GB, free: 11.98 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.7674, allocations: 2.909 MB / 1.552 GB, free: 9.043 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.7689, allocations: 0.7296 MB / 1.553 GB, free: 8.277 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003232/0.7721, allocations: 421.5 kB / 1.553 GB, free: 7.863 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007602/0.7729, allocations: 147.4 kB / 1.553 GB, free: 7.719 MB / 1.248 GB Notification: Performance of SimCode: time 2.154e-06/0.7729, allocations: 4 kB / 1.553 GB, free: 7.715 MB / 1.248 GB Notification: Performance of Templates: time 0.0953/0.8682, allocations: 27.61 MB / 1.58 GB, free: 12.57 MB / 1.279 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 -s cvode -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/jenkins1/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.498597080993932]