Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.001908/0.001908, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.002232/0.002232, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.799/2.799, allocations: 377.8 MB / 0.6221 GB, free: 12.59 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_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.848e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.203/0.203, allocations: 148.3 MB / 1.126 GB, free: 7.055 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.6407/0.8437, allocations: 16.16 MB / 1.142 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.8454, allocations: 43.44 kB / 1.142 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.8473, allocations: 0.5746 MB / 1.143 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.853, allocations: 1.886 MB / 1.145 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.8564, allocations: 1.5 MB / 1.146 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003423/0.8598, allocations: 2.996 MB / 1.149 GB, free: 45.06 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.8619, allocations: 1.592 MB / 1.15 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004879/0.8668, allocations: 2.026 MB / 1.152 GB, free: 44.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.8682, allocations: 0.9436 MB / 1.153 GB, free: 44.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003474/0.8685, allocations: 228.6 kB / 1.154 GB, free: 44.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.8714, allocations: 1.476 MB / 1.155 GB, free: 44.53 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005614/0.8719, allocations: 0.8474 MB / 1.156 GB, free: 44.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.8729, allocations: 0.843 MB / 1.157 GB, free: 44.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004862/0.8778, allocations: 3.865 MB / 1.16 GB, free: 43.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8778, allocations: 1.156 kB / 1.16 GB, free: 43.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8778, allocations: 0 / 1.16 GB, free: 43.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.69e-05/0.8779, allocations: 3.281 kB / 1.16 GB, free: 43.92 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.004404/0.8823, allocations: 2.813 MB / 1.163 GB, free: 42.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.8823, allocations: 16.41 kB / 1.163 GB, free: 42.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.8868, allocations: 0.6266 MB / 1.164 GB, free: 42.42 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/0.8893, allocations: 1.595 MB / 1.165 GB, free: 42 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.8894, allocations: 135.9 kB / 1.166 GB, free: 42 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.8896, allocations: 176.4 kB / 1.166 GB, free: 42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.8928, allocations: 2.729 MB / 1.168 GB, free: 40.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.8928, allocations: 0.9375 kB / 1.168 GB, free: 40.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.893, allocations: 83.19 kB / 1.168 GB, free: 40.88 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.893, allocations: 44.03 kB / 1.168 GB, free: 40.88 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003949/0.897, allocations: 2.067 MB / 1.17 GB, free: 40.86 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009245/0.9062, allocations: 4.421 MB / 1.175 GB, free: 39.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/0.9098, allocations: 1.786 MB / 1.177 GB, free: 39.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.9111, allocations: 0.734 MB / 1.177 GB, free: 39.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.9116, allocations: 121.6 kB / 1.177 GB, free: 39.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002037/0.9136, allocations: 1.635 MB / 1.179 GB, free: 39.03 MB / 1.076 GB Notification: Performance of pre-optimization done (n=154): time 3.787e-06/0.9136, allocations: 0 / 1.179 GB, free: 39.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=154): time 0.007401/0.921, allocations: 2.664 MB / 1.182 GB, free: 38.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.9211, allocations: 205.3 kB / 1.182 GB, free: 38.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.9238, allocations: 1.753 MB / 1.183 GB, free: 38.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002276/0.924, allocations: 68.05 kB / 1.184 GB, free: 38.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/0.9248, allocations: 0.8745 MB / 1.184 GB, free: 38.05 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/0.9252, allocations: 0.5094 MB / 1.185 GB, free: 37.72 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005149/0.9257, allocations: 279.4 kB / 1.185 GB, free: 37.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9258, allocations: 357.5 kB / 1.186 GB, free: 37.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.9271, allocations: 0.6313 MB / 1.186 GB, free: 37.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.9287, allocations: 1.285 MB / 1.187 GB, free: 36.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.9313, allocations: 1.409 MB / 1.189 GB, free: 36.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.9313, allocations: 1.062 kB / 1.189 GB, free: 36.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00447/0.9357, allocations: 1.926 MB / 1.191 GB, free: 36.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.9358, allocations: 6.031 kB / 1.191 GB, free: 36.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9358, allocations: 1.234 kB / 1.191 GB, free: 36.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.9369, allocations: 213.7 kB / 1.191 GB, free: 35.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.9386, allocations: 346.1 kB / 1.191 GB, free: 35.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/0.9433, allocations: 6.681 MB / 1.198 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.9452, allocations: 166.1 kB / 1.198 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.9453, allocations: 61.12 kB / 1.198 GB, free: 29.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.9464, allocations: 0.4902 MB / 1.198 GB, free: 29.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/0.9468, allocations: 190 kB / 1.199 GB, free: 29.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.9516, allocations: 2.181 MB / 1.201 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.9516, allocations: 15.94 kB / 1.201 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.9516, allocations: 6.625 kB / 1.201 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.9517, allocations: 9.484 kB / 1.201 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/0.9595, allocations: 3.762 MB / 1.204 GB, free: 26.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9595, allocations: 0 / 1.204 GB, free: 26.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.9611, allocations: 335.6 kB / 1.205 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009158/0.962, allocations: 194.8 kB / 1.205 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.9621, allocations: 44.09 kB / 1.205 GB, free: 26.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/0.9666, allocations: 6.712 MB / 1.212 GB, free: 20.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9666, allocations: 0 / 1.212 GB, free: 20.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/0.9715, allocations: 2.069 MB / 1.214 GB, free: 19.44 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.9727, allocations: 401.7 kB / 1.214 GB, free: 19.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.973, allocations: 35.31 kB / 1.214 GB, free: 19.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.9743, allocations: 106.7 kB / 1.214 GB, free: 19.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/0.9747, allocations: 130.5 kB / 1.214 GB, free: 19.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.9749, allocations: 73.86 kB / 1.214 GB, free: 19.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002114/0.977, allocations: 1.248 MB / 1.215 GB, free: 18.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.977, allocations: 2.156 kB / 1.215 GB, free: 18.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002586/0.9796, allocations: 0.7139 MB / 1.216 GB, free: 18.52 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002643/0.9823, allocations: 0.8101 MB / 1.217 GB, free: 18.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004158/0.9864, allocations: 2.103 MB / 1.219 GB, free: 17.26 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.9864, allocations: 3.438 kB / 1.219 GB, free: 17.26 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.9886, allocations: 1.39 MB / 1.22 GB, free: 16.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/0.9914, allocations: 0.5134 MB / 1.221 GB, free: 16.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00746/0.9989, allocations: 3.947 MB / 1.225 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/1, allocations: 0.9754 MB / 1.226 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002205/1.003, allocations: 0.4987 MB / 1.226 GB, free: 14.15 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/1.003, allocations: 173.5 kB / 1.226 GB, free: 14.13 MB / 1.076 GB Notification: Performance of SimCode: time 8.81e-07/1.003, allocations: 0 / 1.226 GB, free: 14.13 MB / 1.076 GB Notification: Performance of Templates: time 0.0491/1.052, allocations: 32.21 MB / 1.258 GB, free: 7.645 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.372646983712912]