Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.0008785/0.0008785, allocations: 76.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.0008056/0.0008056, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8963/0.8963, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.782/1.782, allocations: 377.9 MB / 0.6229 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] 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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.214e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.7095/0.7095, allocations: 138.4 MB / 1.117 GB, free: 19.34 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02203/0.7316, allocations: 19.7 MB / 1.137 GB, free: 5.766 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.7343, allocations: 74.5 kB / 1.137 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.7364, allocations: 1.176 MB / 1.138 GB, free: 5.508 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.739, allocations: 0.9317 MB / 1.139 GB, free: 5.184 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.7406, allocations: 383.3 kB / 1.139 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002361/0.7429, allocations: 1.311 MB / 1.14 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00097/0.7439, allocations: 0.5434 MB / 1.141 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.7452, allocations: 0.7216 MB / 1.142 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.7465, allocations: 0.9296 MB / 1.143 GB, free: 3.762 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.7466, allocations: 70.69 kB / 1.143 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.7469, allocations: 114 kB / 1.143 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.7472, allocations: 333 kB / 1.143 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.7475, allocations: 288.4 kB / 1.143 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.7491, allocations: 1.185 MB / 1.144 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.7491, allocations: 5.062 kB / 1.144 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7491, allocations: 0 / 1.144 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.7491, allocations: 0 / 1.144 GB, free: 3.008 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002199/0.7513, allocations: 1.49 MB / 1.146 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.7514, allocations: 10.34 kB / 1.146 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.7516, allocations: 141.2 kB / 1.146 GB, free: 1.934 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.7524, allocations: 0.6074 MB / 1.147 GB, free: 1.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.7525, allocations: 103.5 kB / 1.147 GB, free: 1.414 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.7526, allocations: 47.55 kB / 1.147 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008333/0.7534, allocations: 0.5209 MB / 1.147 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.7534, allocations: 5.266 kB / 1.147 GB, free: 1.172 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.7535, allocations: 21.36 kB / 1.147 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.7535, allocations: 13.75 kB / 1.147 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000675/0.7542, allocations: 417.3 kB / 1.148 GB, free: 1.023 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.002768/0.7569, allocations: 1.836 MB / 1.15 GB, free: 36 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/0.7578, allocations: 430.9 kB / 1.15 GB, free: 15.88 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/0.7582, allocations: 265.2 kB / 1.15 GB, free: 15.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.7583, allocations: 8.859 kB / 1.15 GB, free: 15.79 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004996/0.7588, allocations: 309.1 kB / 1.15 GB, free: 15.66 MB / 1.01 GB Notification: Performance of pre-optimization done (n=45): time 3.827e-06/0.7588, allocations: 1.188 kB / 1.15 GB, free: 15.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.002241/0.761, allocations: 1.109 MB / 1.152 GB, free: 15.28 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.7611, allocations: 61.58 kB / 1.152 GB, free: 15.21 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.763, allocations: 1.758 MB / 1.153 GB, free: 14.63 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.763, allocations: 37.88 kB / 1.153 GB, free: 14.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.7634, allocations: 0.5267 MB / 1.154 GB, free: 14.19 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.7635, allocations: 153.3 kB / 1.154 GB, free: 14.07 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.7636, allocations: 95.48 kB / 1.154 GB, free: 14.02 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7638, allocations: 326.2 kB / 1.154 GB, free: 13.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.7641, allocations: 222 kB / 1.155 GB, free: 13.63 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.7645, allocations: 331 kB / 1.155 GB, free: 13.45 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.7652, allocations: 0.512 MB / 1.155 GB, free: 13.18 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7652, allocations: 1.406 kB / 1.155 GB, free: 13.18 MB / 1.01 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00136/0.7665, allocations: 0.8527 MB / 1.156 GB, free: 12.83 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.7666, allocations: 11.61 kB / 1.156 GB, free: 12.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.7666, allocations: 2.344 kB / 1.156 GB, free: 12.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.7671, allocations: 188.8 kB / 1.157 GB, free: 12.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.7674, allocations: 93.38 kB / 1.157 GB, free: 12.76 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.7706, allocations: 2.835 MB / 1.159 GB, free: 10.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.7711, allocations: 73.36 kB / 1.159 GB, free: 10.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.7711, allocations: 20.64 kB / 1.159 GB, free: 10.66 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008469/0.772, allocations: 393.2 kB / 1.16 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.7721, allocations: 120.4 kB / 1.16 GB, free: 10.39 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.7734, allocations: 0.7669 MB / 1.161 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.7734, allocations: 9.641 kB / 1.161 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.7734, allocations: 2.719 kB / 1.161 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.7734, allocations: 4.25 kB / 1.161 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.7757, allocations: 1.444 MB / 1.162 GB, free: 9.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7757, allocations: 0 / 1.162 GB, free: 9.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.7759, allocations: 50.59 kB / 1.162 GB, free: 9.406 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/0.7763, allocations: 193.6 kB / 1.162 GB, free: 9.344 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.7763, allocations: 14.67 kB / 1.162 GB, free: 9.336 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003445/0.7798, allocations: 4.249 MB / 1.167 GB, free: 5.887 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.7798, allocations: 8.906 kB / 1.167 GB, free: 5.879 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.7814, allocations: 1.082 MB / 1.168 GB, free: 5.367 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.7816, allocations: 154.9 kB / 1.168 GB, free: 5.27 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.7817, allocations: 12.97 kB / 1.168 GB, free: 5.262 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.7819, allocations: 26.94 kB / 1.168 GB, free: 5.258 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.782, allocations: 60.98 kB / 1.168 GB, free: 5.246 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.7821, allocations: 17.89 kB / 1.168 GB, free: 5.242 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001597/0.7837, allocations: 1.289 MB / 1.169 GB, free: 4.801 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7837, allocations: 0 / 1.169 GB, free: 4.801 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008349/0.7845, allocations: 211.3 kB / 1.169 GB, free: 4.758 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.7855, allocations: 0.5117 MB / 1.17 GB, free: 4.551 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.7868, allocations: 0.6915 MB / 1.17 GB, free: 4.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.7869, allocations: 5.219 kB / 1.17 GB, free: 4.246 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000678/0.7875, allocations: 0.5512 MB / 1.171 GB, free: 3.895 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007493/0.7883, allocations: 192.8 kB / 1.171 GB, free: 3.82 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.792, allocations: 2.399 MB / 1.174 GB, free: 2.746 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.7926, allocations: 0.5498 MB / 1.174 GB, free: 2.594 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.7927, allocations: 46.5 kB / 1.174 GB, free: 2.582 MB / 1.01 GB Notification: Performance of SimCode: time 1.122e-06/0.7927, allocations: 0 / 1.174 GB, free: 2.582 MB / 1.01 GB Notification: Performance of Templates: time 0.02448/0.8172, allocations: 18.55 MB / 1.192 GB, free: 11.82 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.357881424948573]