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.00203/0.00203, 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.00294/0.00294, allocations: 165.4 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.553/1.553, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.868/2.868, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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.583e-06/1.583e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.334e-05, allocations: 13.53 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2241/0.2242, allocations: 155.3 MB / 1.133 GB, free: 44 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.6224/0.8466, allocations: 14.62 MB / 1.147 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.8486, allocations: 39.66 kB / 1.147 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.8506, allocations: 0.6093 MB / 1.148 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.8557, allocations: 1.666 MB / 1.15 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004977/0.8607, allocations: 1.748 MB / 1.151 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004335/0.8651, allocations: 3.024 MB / 1.154 GB, free: 44.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/0.8675, allocations: 1.474 MB / 1.156 GB, free: 44.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005907/0.8734, allocations: 2.192 MB / 1.158 GB, free: 44.45 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.8753, allocations: 0.8628 MB / 1.159 GB, free: 44.36 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004954/0.8758, allocations: 205.1 kB / 1.159 GB, free: 44.36 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.8789, allocations: 1.242 MB / 1.16 GB, free: 44.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006139/0.8796, allocations: 0.6097 MB / 1.161 GB, free: 44.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.8808, allocations: 0.7237 MB / 1.161 GB, free: 44.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005597/0.8864, allocations: 3.243 MB / 1.165 GB, free: 43.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.8864, allocations: 2.906 kB / 1.165 GB, free: 43.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8864, allocations: 1 kB / 1.165 GB, free: 43.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.252e-05/0.8865, allocations: 0 / 1.165 GB, free: 43.79 MB / 1.076 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.004772/0.8913, allocations: 2.327 MB / 1.167 GB, free: 42.69 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.8913, allocations: 14.78 kB / 1.167 GB, free: 42.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/0.8952, allocations: 0.5152 MB / 1.167 GB, free: 42.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.8975, allocations: 1.083 MB / 1.168 GB, free: 42.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.8976, allocations: 125.1 kB / 1.169 GB, free: 42.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.8979, allocations: 173.7 kB / 1.169 GB, free: 42.22 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003342/0.9012, allocations: 2.438 MB / 1.171 GB, free: 41.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.9013, allocations: 0 / 1.171 GB, free: 41.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.9014, allocations: 69.38 kB / 1.171 GB, free: 41.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.9015, allocations: 49.34 kB / 1.171 GB, free: 41.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.9052, allocations: 1.727 MB / 1.173 GB, free: 41.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009104/0.9143, allocations: 4.441 MB / 1.177 GB, free: 39.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.9175, allocations: 1.312 MB / 1.179 GB, free: 39.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.9187, allocations: 0.5388 MB / 1.179 GB, free: 39.56 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/0.9193, allocations: 133.2 kB / 1.179 GB, free: 39.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001927/0.9212, allocations: 1.306 MB / 1.18 GB, free: 38.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=134): time 4.909e-06/0.9212, allocations: 0 / 1.18 GB, free: 38.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=134): time 0.005478/0.9267, allocations: 1.86 MB / 1.182 GB, free: 38.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.9268, allocations: 205 kB / 1.182 GB, free: 38.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.9287, allocations: 0.8376 MB / 1.183 GB, free: 38.35 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.9289, allocations: 61.94 kB / 1.183 GB, free: 38.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006815/0.9296, allocations: 0.685 MB / 1.184 GB, free: 37.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/0.93, allocations: 459.9 kB / 1.184 GB, free: 37.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000465/0.9305, allocations: 249.2 kB / 1.185 GB, free: 37.67 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.9306, allocations: 354.1 kB / 1.185 GB, free: 37.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.9316, allocations: 475.1 kB / 1.185 GB, free: 37.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.9329, allocations: 0.8366 MB / 1.186 GB, free: 37 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.935, allocations: 1.087 MB / 1.187 GB, free: 36.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.935, allocations: 0.9062 kB / 1.187 GB, free: 36.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003589/0.9386, allocations: 1.41 MB / 1.189 GB, free: 36.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.9386, allocations: 5.891 kB / 1.189 GB, free: 36.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.9386, allocations: 3.062 kB / 1.189 GB, free: 36.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006829/0.9393, allocations: 84.59 kB / 1.189 GB, free: 36.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.9408, allocations: 302.4 kB / 1.189 GB, free: 36.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.9428, allocations: 1.522 MB / 1.191 GB, free: 35.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.9444, allocations: 131.2 kB / 1.191 GB, free: 35.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.9445, allocations: 58.92 kB / 1.191 GB, free: 35.49 MB / 1.076 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.001012/0.9455, allocations: 392 kB / 1.191 GB, free: 35.37 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.9459, allocations: 136.2 kB / 1.191 GB, free: 35.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.9497, allocations: 1.625 MB / 1.193 GB, free: 34.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.9497, allocations: 14.22 kB / 1.193 GB, free: 34.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9497, allocations: 0.9688 kB / 1.193 GB, free: 34.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.9497, allocations: 8.734 kB / 1.193 GB, free: 34.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/0.9562, allocations: 2.923 MB / 1.196 GB, free: 33.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.9562, allocations: 6.109 kB / 1.196 GB, free: 33.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.9575, allocations: 273.1 kB / 1.196 GB, free: 33.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/0.958, allocations: 72.41 kB / 1.196 GB, free: 33.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.9581, allocations: 41.5 kB / 1.196 GB, free: 33.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.9599, allocations: 1.539 MB / 1.198 GB, free: 31.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9599, allocations: 1.062 kB / 1.198 GB, free: 31.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004815/0.9647, allocations: 2.216 MB / 1.2 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000984/0.9657, allocations: 310 kB / 1.2 GB, free: 30.87 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.9659, allocations: 40.55 kB / 1.2 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.9671, allocations: 87.8 kB / 1.2 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.9673, allocations: 102 kB / 1.2 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.9675, allocations: 70.7 kB / 1.2 GB, free: 30.79 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009196/0.9684, allocations: 0.5773 MB / 1.201 GB, free: 30.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9684, allocations: 0 / 1.201 GB, free: 30.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001895/0.9703, allocations: 0.5824 MB / 1.202 GB, free: 30.37 MB / 1.076 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.002477/0.9728, allocations: 0.757 MB / 1.202 GB, free: 30.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003298/0.9761, allocations: 1.284 MB / 1.204 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.9761, allocations: 2.531 kB / 1.204 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.9777, allocations: 0.7251 MB / 1.204 GB, free: 29.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.9806, allocations: 0.5026 MB / 1.205 GB, free: 29.22 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/0.9872, allocations: 2.87 MB / 1.208 GB, free: 27.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.9885, allocations: 0.733 MB / 1.208 GB, free: 27.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002291/0.9908, allocations: 434 kB / 1.209 GB, free: 27.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007173/0.9915, allocations: 159 kB / 1.209 GB, free: 27.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.803e-06/0.9915, allocations: 0 / 1.209 GB, free: 27.5 MB / 1.076 GB Notification: Performance of Templates: time 0.04551/1.037, allocations: 25.36 MB / 1.234 GB, free: 24.58 MB / 1.076 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.213330339640379]