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.0008352/0.0008352, 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.0007901/0.0007901, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8549/0.8549, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.591/1.591, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.413e-06/1.413e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.056e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.5986/0.5986, allocations: 155.3 MB / 1.103 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.6148, allocations: 14.63 MB / 1.118 GB, free: 31.99 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.6161, allocations: 44.16 kB / 1.118 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.6175, allocations: 0.6058 MB / 1.118 GB, free: 31.6 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.6209, allocations: 1.672 MB / 1.12 GB, free: 30.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.6243, allocations: 1.755 MB / 1.122 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00267/0.6269, allocations: 3.038 MB / 1.125 GB, free: 28.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.6285, allocations: 1.476 MB / 1.126 GB, free: 27.39 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.6312, allocations: 1.948 MB / 1.128 GB, free: 26.56 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009109/0.6321, allocations: 0.8768 MB / 1.129 GB, free: 26.25 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.6324, allocations: 206.2 kB / 1.129 GB, free: 26.25 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.6346, allocations: 1.253 MB / 1.13 GB, free: 25.86 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000407/0.635, allocations: 0.6059 MB / 1.131 GB, free: 25.5 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006342/0.6356, allocations: 0.7251 MB / 1.132 GB, free: 25.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.6389, allocations: 3.241 MB / 1.135 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.639, allocations: 0 / 1.135 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.432e-06/0.639, allocations: 0 / 1.135 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.639, allocations: 4.938 kB / 1.135 GB, free: 23.89 MB / 0.9948 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.002672/0.6416, allocations: 2.319 MB / 1.137 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.6417, allocations: 9.781 kB / 1.137 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.6436, allocations: 0.5169 MB / 1.137 GB, free: 22.32 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.6448, allocations: 1.096 MB / 1.139 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/0.6449, allocations: 124.9 kB / 1.139 GB, free: 21.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.6451, allocations: 161.9 kB / 1.139 GB, free: 21.55 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.6472, allocations: 2.444 MB / 1.141 GB, free: 19.97 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.6472, allocations: 1.375 kB / 1.141 GB, free: 19.97 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.6474, allocations: 71.84 kB / 1.141 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.6474, allocations: 46.25 kB / 1.141 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.6494, allocations: 1.726 MB / 1.143 GB, free: 19.44 MB / 0.9948 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.004689/0.6541, allocations: 4.462 MB / 1.147 GB, free: 16.76 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.6558, allocations: 1.299 MB / 1.149 GB, free: 16.28 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.6565, allocations: 0.5436 MB / 1.149 GB, free: 16.06 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003559/0.6568, allocations: 129 kB / 1.149 GB, free: 16.05 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.6579, allocations: 1.298 MB / 1.151 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=134): time 3.486e-06/0.658, allocations: 0 / 1.151 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=134): time 0.002888/0.6608, allocations: 1.857 MB / 1.152 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.6609, allocations: 203.5 kB / 1.153 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008325/0.6617, allocations: 0.8501 MB / 1.153 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/0.6618, allocations: 65.11 kB / 1.153 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.6621, allocations: 0.6818 MB / 1.154 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.6623, allocations: 455.6 kB / 1.155 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.6626, allocations: 251 kB / 1.155 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.6626, allocations: 360.6 kB / 1.155 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.6632, allocations: 470.6 kB / 1.156 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007279/0.664, allocations: 0.834 MB / 1.156 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.6652, allocations: 1.078 MB / 1.157 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6653, allocations: 5.812 kB / 1.157 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001876/0.6671, allocations: 1.413 MB / 1.159 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6671, allocations: 5.906 kB / 1.159 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6672, allocations: 7 kB / 1.159 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.6675, allocations: 84.34 kB / 1.159 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.6682, allocations: 306 kB / 1.159 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.6693, allocations: 1.524 MB / 1.161 GB, free: 9.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006058/0.6699, allocations: 121.9 kB / 1.161 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.67, allocations: 58.47 kB / 1.161 GB, free: 9.195 MB / 0.9948 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.0004671/0.6705, allocations: 391.1 kB / 1.161 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.6707, allocations: 133.6 kB / 1.161 GB, free: 8.859 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.6728, allocations: 1.628 MB / 1.163 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.6728, allocations: 13.41 kB / 1.163 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6728, allocations: 3.688 kB / 1.163 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6728, allocations: 6.516 kB / 1.163 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.6764, allocations: 2.919 MB / 1.166 GB, free: 6.879 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6764, allocations: 4.938 kB / 1.166 GB, free: 6.875 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.677, allocations: 275.3 kB / 1.166 GB, free: 6.852 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/0.6772, allocations: 73.48 kB / 1.166 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.6773, allocations: 36.45 kB / 1.166 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009284/0.6782, allocations: 1.542 MB / 1.168 GB, free: 5.426 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6782, allocations: 3.938 kB / 1.168 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.6808, allocations: 2.219 MB / 1.17 GB, free: 4.461 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.6812, allocations: 314.2 kB / 1.17 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6814, allocations: 31.97 kB / 1.17 GB, free: 4.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.6819, allocations: 87.91 kB / 1.17 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.682, allocations: 100.9 kB / 1.17 GB, free: 4.234 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/0.6821, allocations: 61.73 kB / 1.17 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005321/0.6826, allocations: 0.5871 MB / 1.171 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6826, allocations: 0 / 1.171 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001296/0.6839, allocations: 0.5753 MB / 1.172 GB, free: 3.801 MB / 0.9948 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.001201/0.6851, allocations: 0.7566 MB / 1.172 GB, free: 3.488 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.6868, allocations: 1.28 MB / 1.174 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6868, allocations: 3.5 kB / 1.174 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007564/0.6875, allocations: 0.7183 MB / 1.174 GB, free: 2.691 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6887, allocations: 0.5066 MB / 1.175 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.6918, allocations: 2.943 MB / 1.178 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.6923, allocations: 0.7359 MB / 1.178 GB, free: 0.8281 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.6927, allocations: 170.5 kB / 1.179 GB, free: 0.8047 MB / 0.9948 GB Notification: Performance of SimCode: time 8.52e-07/0.6927, allocations: 0 / 1.179 GB, free: 0.8047 MB / 0.9948 GB Notification: Performance of Templates: time 0.02911/0.7218, allocations: 32.19 MB / 1.21 GB, free: 388 kB / 1.01 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: 9.567441398277879]