Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004668/0.004668, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 62.27 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3055, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.164/0.4695, allocations: 156.7 MB / 1.241 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6444/1.114, allocations: 21.74 MB / 1.262 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/1.116, allocations: 54.28 kB / 1.262 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/1.118, allocations: 1.163 MB / 1.263 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/1.12, allocations: 0.8689 MB / 1.264 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/1.121, allocations: 447.6 kB / 1.265 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001926/1.123, allocations: 1.262 MB / 1.266 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009647/1.124, allocations: 0.6787 MB / 1.267 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009855/1.125, allocations: 0.5594 MB / 1.267 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/1.126, allocations: 0.913 MB / 1.268 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/1.127, allocations: 65.72 kB / 1.268 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/1.127, allocations: 110.5 kB / 1.268 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/1.127, allocations: 316.9 kB / 1.268 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005361/1.128, allocations: 0.4902 MB / 1.269 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/1.129, allocations: 1.191 MB / 1.27 GB, free: 3.336 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.129, allocations: 2.031 kB / 1.27 GB, free: 3.336 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/1.129, allocations: 0 / 1.27 GB, free: 3.336 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.018e-05/1.13, allocations: 0 / 1.27 GB, free: 3.336 MB / 1.014 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.00239/1.132, allocations: 1.483 MB / 1.272 GB, free: 2.469 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.132, allocations: 10.38 kB / 1.272 GB, free: 2.469 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/1.132, allocations: 132 kB / 1.272 GB, free: 2.402 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/1.133, allocations: 0.6612 MB / 1.272 GB, free: 2.016 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/1.133, allocations: 78.84 kB / 1.272 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/1.133, allocations: 45.69 kB / 1.272 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.134, allocations: 0.5148 MB / 1.273 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.134, allocations: 6.516 kB / 1.273 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/1.134, allocations: 20.14 kB / 1.273 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/1.134, allocations: 10.59 kB / 1.273 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/1.135, allocations: 415.7 kB / 1.273 GB, free: 1.922 MB / 1.014 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.003396/1.139, allocations: 2.725 MB / 1.276 GB, free: 16.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/1.14, allocations: 443.5 kB / 1.276 GB, free: 16.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005902/1.14, allocations: 308 kB / 1.277 GB, free: 16.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/1.14, allocations: 14.27 kB / 1.277 GB, free: 16.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004931/1.141, allocations: 282 kB / 1.277 GB, free: 16.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/1.141, allocations: 0.875 kB / 1.277 GB, free: 16.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.002442/1.143, allocations: 1.149 MB / 1.278 GB, free: 16.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.143, allocations: 57.81 kB / 1.278 GB, free: 16.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/1.145, allocations: 1.766 MB / 1.28 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/1.146, allocations: 37.28 kB / 1.28 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/1.146, allocations: 0.5258 MB / 1.281 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/1.146, allocations: 143.2 kB / 1.281 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/1.146, allocations: 100.2 kB / 1.281 GB, free: 15.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.146, allocations: 326 kB / 1.281 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/1.147, allocations: 211.5 kB / 1.281 GB, free: 15.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/1.147, allocations: 339.4 kB / 1.282 GB, free: 15.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/1.148, allocations: 0.5134 MB / 1.282 GB, free: 15.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.148, allocations: 2.031 kB / 1.282 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001487/1.15, allocations: 0.812 MB / 1.283 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.15, allocations: 11.48 kB / 1.283 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/1.15, allocations: 3.906 kB / 1.283 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/1.15, allocations: 133.6 kB / 1.283 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/1.15, allocations: 105.2 kB / 1.283 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/1.153, allocations: 2.604 MB / 1.286 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/1.154, allocations: 75.25 kB / 1.286 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/1.154, allocations: 22.48 kB / 1.286 GB, free: 13.34 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006203/1.155, allocations: 388.2 kB / 1.286 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/1.155, allocations: 117.3 kB / 1.286 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/1.155, allocations: 143.7 kB / 1.286 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.155, allocations: 5.281 kB / 1.286 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.155, allocations: 2.688 kB / 1.286 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.155, allocations: 3.484 kB / 1.286 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/1.157, allocations: 1.491 MB / 1.288 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.157, allocations: 5.188 kB / 1.288 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/1.158, allocations: 49.77 kB / 1.288 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003797/1.158, allocations: 166.7 kB / 1.288 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/1.158, allocations: 13.92 kB / 1.288 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003667/1.162, allocations: 4.015 MB / 1.292 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.162, allocations: 1.531 kB / 1.292 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/1.163, allocations: 0.9893 MB / 1.293 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/1.164, allocations: 214.7 kB / 1.293 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.83e-05/1.164, allocations: 13 kB / 1.293 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/1.164, allocations: 30.91 kB / 1.293 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.164, allocations: 49.12 kB / 1.293 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/1.164, allocations: 16.44 kB / 1.293 GB, free: 9.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001575/1.166, allocations: 1.29 MB / 1.295 GB, free: 9.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.11e-07/1.166, allocations: 0 / 1.295 GB, free: 9.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007931/1.167, allocations: 201 kB / 1.295 GB, free: 9.387 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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 (28): * Single equations (assignments): 20 * 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,12,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.001051/1.168, allocations: 488 kB / 1.295 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001254/1.169, allocations: 0.6579 MB / 1.296 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.169, allocations: 3.906 kB / 1.296 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/1.17, allocations: 0.5348 MB / 1.296 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009068/1.171, allocations: 206.8 kB / 1.297 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/1.174, allocations: 2.353 MB / 1.299 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/1.175, allocations: 1.148 MB / 1.3 GB, free: 7.355 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003401/1.175, allocations: 95.53 kB / 1.3 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/1.175, allocations: 46.77 kB / 1.3 GB, free: 7.336 MB / 1.029 GB Notification: Performance of SimCode: time 1.042e-06/1.175, allocations: 0.9062 kB / 1.3 GB, free: 7.336 MB / 1.029 GB Notification: Performance of Templates: time 0.01912/1.195, allocations: 10.15 MB / 1.31 GB, free: 6.652 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches