Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005207/0.005207, allocations: 101.7 kB / 15.73 MB, free: 5.996 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.001116/0.001116, allocations: 190.5 kB / 16.67 MB, free: 5.93 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.11 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.305, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.8992/1.204, allocations: 157.2 MB / 1.374 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03005/1.234, allocations: 21.8 MB / 1.395 GB, free: 9.285 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/1.237, allocations: 55.28 kB / 1.395 GB, free: 9.266 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/1.239, allocations: 1.159 MB / 1.397 GB, free: 8.656 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/1.241, allocations: 0.8667 MB / 1.397 GB, free: 8.121 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/1.243, allocations: 448 kB / 1.398 GB, free: 7.766 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002464/1.245, allocations: 1.254 MB / 1.399 GB, free: 7.059 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/1.247, allocations: 0.5531 MB / 1.4 GB, free: 6.684 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/1.248, allocations: 0.5617 MB / 1.4 GB, free: 6.379 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/1.249, allocations: 0.9181 MB / 1.401 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002125/1.25, allocations: 65.44 kB / 1.401 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/1.25, allocations: 107.7 kB / 1.401 GB, free: 5.941 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003747/1.251, allocations: 325 kB / 1.402 GB, free: 5.734 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007307/1.251, allocations: 485.8 kB / 1.402 GB, free: 5.383 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/1.253, allocations: 1.213 MB / 1.403 GB, free: 4.539 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.253, allocations: 0 / 1.403 GB, free: 4.539 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.344e-06/1.253, allocations: 0 / 1.403 GB, free: 4.539 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.542e-05/1.253, allocations: 5.125 kB / 1.403 GB, free: 4.535 MB / 1.092 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.003363/1.257, allocations: 1.509 MB / 1.405 GB, free: 3.348 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.257, allocations: 9.812 kB / 1.405 GB, free: 3.348 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/1.257, allocations: 142.9 kB / 1.405 GB, free: 3.27 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/1.258, allocations: 0.68 MB / 1.405 GB, free: 2.695 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/1.258, allocations: 74.17 kB / 1.406 GB, free: 2.645 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/1.258, allocations: 46.25 kB / 1.406 GB, free: 2.629 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/1.259, allocations: 0.5144 MB / 1.406 GB, free: 2.312 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.26, allocations: 5.328 kB / 1.406 GB, free: 2.309 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/1.26, allocations: 20.12 kB / 1.406 GB, free: 2.293 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/1.26, allocations: 9.625 kB / 1.406 GB, free: 2.293 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/1.26, allocations: 415.1 kB / 1.407 GB, free: 2.094 MB / 1.092 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.004092/1.265, allocations: 2.727 MB / 1.409 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/1.266, allocations: 423.6 kB / 1.41 GB, free: 15.51 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/1.266, allocations: 293.7 kB / 1.41 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/1.266, allocations: 4.422 kB / 1.41 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/1.267, allocations: 286.5 kB / 1.41 GB, free: 15.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/1.267, allocations: 0 / 1.41 GB, free: 15.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=44): time 0.002742/1.27, allocations: 1.146 MB / 1.411 GB, free: 14.47 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/1.27, allocations: 56.34 kB / 1.411 GB, free: 14.41 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/1.272, allocations: 1.771 MB / 1.413 GB, free: 13.61 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/1.272, allocations: 35.73 kB / 1.413 GB, free: 13.57 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/1.272, allocations: 0.5299 MB / 1.414 GB, free: 13.11 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/1.273, allocations: 145.2 kB / 1.414 GB, free: 12.98 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/1.273, allocations: 102.5 kB / 1.414 GB, free: 12.91 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.273, allocations: 333.6 kB / 1.414 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/1.273, allocations: 214.2 kB / 1.414 GB, free: 12.49 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/1.274, allocations: 344.4 kB / 1.415 GB, free: 12.23 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/1.275, allocations: 0.518 MB / 1.415 GB, free: 11.88 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.275, allocations: 0 / 1.415 GB, free: 11.88 MB / 1.107 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001676/1.276, allocations: 0.8044 MB / 1.416 GB, free: 11.46 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.276, allocations: 9.188 kB / 1.416 GB, free: 11.45 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.276, allocations: 4.344 kB / 1.416 GB, free: 11.45 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/1.277, allocations: 139 kB / 1.416 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/1.277, allocations: 98.39 kB / 1.416 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/1.28, allocations: 2.604 MB / 1.419 GB, free: 9.133 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/1.281, allocations: 75.36 kB / 1.419 GB, free: 9.086 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/1.281, allocations: 23.16 kB / 1.419 GB, free: 9.082 MB / 1.107 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.0006161/1.282, allocations: 399.7 kB / 1.419 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/1.282, allocations: 120.3 kB / 1.419 GB, free: 8.766 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/1.282, allocations: 148.9 kB / 1.419 GB, free: 8.676 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.282, allocations: 9.047 kB / 1.419 GB, free: 8.672 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.282, allocations: 1.812 kB / 1.419 GB, free: 8.672 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.282, allocations: 0 / 1.419 GB, free: 8.672 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/1.285, allocations: 1.49 MB / 1.421 GB, free: 7.266 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.285, allocations: 0 / 1.421 GB, free: 7.266 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/1.285, allocations: 51.95 kB / 1.421 GB, free: 7.215 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/1.285, allocations: 157.6 kB / 1.421 GB, free: 7.055 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/1.285, allocations: 8.688 kB / 1.421 GB, free: 7.047 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/1.289, allocations: 4.039 MB / 1.425 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.289, allocations: 0 / 1.425 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/1.291, allocations: 0.9858 MB / 1.426 GB, free: 1.73 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/1.291, allocations: 228.2 kB / 1.426 GB, free: 1.488 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/1.292, allocations: 8 kB / 1.426 GB, free: 1.48 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/1.292, allocations: 27.97 kB / 1.426 GB, free: 1.453 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.292, allocations: 51.92 kB / 1.426 GB, free: 1.402 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/1.292, allocations: 15.98 kB / 1.426 GB, free: 1.387 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001556/1.294, allocations: 1.293 MB / 1.428 GB, free: 92 kB / 1.107 GB Notification: Performance of sort global known variables: time 8.1e-08/1.294, allocations: 0 / 1.428 GB, free: 92 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008248/1.294, allocations: 195.8 kB / 1.428 GB, free: 15.89 MB / 1.123 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.001186/1.296, allocations: 491.3 kB / 1.428 GB, free: 15.6 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001387/1.297, allocations: 0.645 MB / 1.429 GB, free: 14.95 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.297, allocations: 0 / 1.429 GB, free: 14.95 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008088/1.298, allocations: 0.5091 MB / 1.429 GB, free: 14.41 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009919/1.299, allocations: 204.6 kB / 1.43 GB, free: 14.22 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/1.303, allocations: 2.398 MB / 1.432 GB, free: 11.79 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/1.304, allocations: 1.149 MB / 1.433 GB, free: 10.61 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000319/1.304, allocations: 100.7 kB / 1.433 GB, free: 10.51 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/1.304, allocations: 47.44 kB / 1.433 GB, free: 10.46 MB / 1.123 GB Notification: Performance of SimCode: time 5.11e-07/1.304, allocations: 0 / 1.433 GB, free: 10.46 MB / 1.123 GB Notification: Performance of Templates: time 0.01965/1.324, allocations: 10.23 MB / 1.443 GB, free: 372 kB / 1.123 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches