Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001991/0.001991, allocations: 76.23 kB / 19.18 MB, free: 2.52 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.002365/0.002365, allocations: 165 kB / 22.45 MB, free: 5.371 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.491/1.491, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.856/2.856, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.809e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.8249/0.8249, allocations: 155.3 MB / 1.103 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.8471, allocations: 14.61 MB / 1.117 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.8491, allocations: 43.59 kB / 1.117 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.8512, allocations: 0.6053 MB / 1.117 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006869/0.8581, allocations: 1.675 MB / 1.119 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006575/0.8647, allocations: 1.753 MB / 1.121 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008358/0.873, allocations: 3.029 MB / 1.124 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.8769, allocations: 1.488 MB / 1.125 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/0.8841, allocations: 1.946 MB / 1.127 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/0.8866, allocations: 0.8799 MB / 1.128 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009395/0.8876, allocations: 206.1 kB / 1.128 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006036/0.8936, allocations: 1.249 MB / 1.129 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002166/0.8958, allocations: 0.6127 MB / 1.13 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003527/0.8993, allocations: 0.7293 MB / 1.131 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008818/0.9081, allocations: 3.242 MB / 1.134 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.9081, allocations: 5.062 kB / 1.134 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9081, allocations: 0.9688 kB / 1.134 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000143/0.9083, allocations: 0 / 1.134 GB, free: 10.94 MB / 0.9981 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.00851/0.9168, allocations: 2.325 MB / 1.136 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.9168, allocations: 10.19 kB / 1.136 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/0.9218, allocations: 0.5146 MB / 1.137 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/0.9255, allocations: 1.084 MB / 1.138 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.9257, allocations: 125.8 kB / 1.138 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007277/0.9264, allocations: 165.5 kB / 1.138 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006003/0.9325, allocations: 2.439 MB / 1.14 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.465e-05/0.9325, allocations: 1 kB / 1.14 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004368/0.933, allocations: 74.75 kB / 1.14 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.044e-05/0.9331, allocations: 50.27 kB / 1.141 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/0.9372, allocations: 1.73 MB / 1.142 GB, free: 8.328 MB / 0.9981 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.01093/0.9482, allocations: 4.452 MB / 1.147 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/0.9515, allocations: 1.308 MB / 1.148 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.9527, allocations: 0.5367 MB / 1.148 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/0.9534, allocations: 133.2 kB / 1.149 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/0.9552, allocations: 1.301 MB / 1.15 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=134): time 5.971e-06/0.9552, allocations: 0 / 1.15 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=134): time 0.0057/0.9609, allocations: 1.854 MB / 1.152 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.961, allocations: 207.8 kB / 1.152 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.9626, allocations: 0.8403 MB / 1.153 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.9628, allocations: 59.77 kB / 1.153 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006056/0.9634, allocations: 0.688 MB / 1.153 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.9638, allocations: 456.5 kB / 1.154 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/0.9642, allocations: 250.3 kB / 1.154 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.9643, allocations: 352.7 kB / 1.154 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.9654, allocations: 473.5 kB / 1.155 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.9667, allocations: 0.8332 MB / 1.156 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.969, allocations: 1.087 MB / 1.157 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.969, allocations: 0.9375 kB / 1.157 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003584/0.9726, allocations: 1.411 MB / 1.158 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.9726, allocations: 8.516 kB / 1.158 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.9726, allocations: 3.094 kB / 1.158 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/0.9733, allocations: 82.55 kB / 1.158 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.9748, allocations: 302 kB / 1.158 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.9768, allocations: 1.521 MB / 1.16 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.9783, allocations: 123.4 kB / 1.16 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.9784, allocations: 61.48 kB / 1.16 GB, free: 2.641 MB / 0.9981 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.001065/0.9795, allocations: 392.3 kB / 1.16 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005524/0.98, allocations: 137.8 kB / 1.161 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.9841, allocations: 1.63 MB / 1.162 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.9841, allocations: 13.69 kB / 1.162 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9841, allocations: 1.562 kB / 1.162 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.9841, allocations: 6.5 kB / 1.162 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006726/0.9908, allocations: 2.918 MB / 1.165 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9908, allocations: 1.094 kB / 1.165 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/0.9927, allocations: 272.4 kB / 1.165 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.9932, allocations: 81.39 kB / 1.165 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.9933, allocations: 40.7 kB / 1.165 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.9955, allocations: 1.535 MB / 1.167 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.9955, allocations: 8 kB / 1.167 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005712/1.001, allocations: 2.221 MB / 1.169 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.002, allocations: 310.3 kB / 1.169 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/1.003, allocations: 35.23 kB / 1.169 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.004, allocations: 92.38 kB / 1.17 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/1.004, allocations: 106.1 kB / 1.17 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/1.005, allocations: 66.84 kB / 1.17 GB, free: 13.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001114/1.006, allocations: 0.576 MB / 1.17 GB, free: 13.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.006, allocations: 0.9375 kB / 1.17 GB, free: 13.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002251/1.008, allocations: 0.5823 MB / 1.171 GB, free: 13.42 MB / 1.014 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.002907/1.011, allocations: 0.7589 MB / 1.172 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003367/1.014, allocations: 1.275 MB / 1.173 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.014, allocations: 2.094 kB / 1.173 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/1.016, allocations: 0.7209 MB / 1.174 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/1.019, allocations: 499.4 kB / 1.174 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/1.025, allocations: 2.895 MB / 1.177 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.026, allocations: 0.7359 MB / 1.178 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001918/1.028, allocations: 424.3 kB / 1.178 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006204/1.029, allocations: 157.3 kB / 1.178 GB, free: 10.54 MB / 1.014 GB Notification: Performance of SimCode: time 1.633e-06/1.029, allocations: 0 / 1.178 GB, free: 10.54 MB / 1.014 GB Notification: Performance of Templates: time 0.04663/1.075, allocations: 25.35 MB / 1.203 GB, free: 2.223 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.365892201662064]