Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00155/0.00155, allocations: 107.9 kB / 16.41 MB, free: 6.473 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.001733/0.001733, allocations: 187 kB / 17.34 MB, free: 5.715 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 64.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9524/0.9539, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1835/1.137, allocations: 156.7 MB / 1.32 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0274/1.165, allocations: 21.75 MB / 1.342 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/1.167, allocations: 55.69 kB / 1.342 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/1.169, allocations: 1.161 MB / 1.343 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/1.171, allocations: 0.8718 MB / 1.344 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/1.172, allocations: 437.8 kB / 1.344 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001855/1.174, allocations: 1.259 MB / 1.345 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/1.175, allocations: 0.6831 MB / 1.346 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/1.177, allocations: 0.5646 MB / 1.347 GB, free: 11.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/1.178, allocations: 0.9138 MB / 1.347 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/1.178, allocations: 64 kB / 1.347 GB, free: 10.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/1.178, allocations: 108 kB / 1.348 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/1.179, allocations: 316.8 kB / 1.348 GB, free: 10.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006508/1.179, allocations: 488.8 kB / 1.348 GB, free: 9.785 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/1.181, allocations: 1.21 MB / 1.35 GB, free: 8.574 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/1.181, allocations: 3.984 kB / 1.35 GB, free: 8.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.863e-06/1.181, allocations: 4 kB / 1.35 GB, free: 8.566 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.94e-05/1.181, allocations: 0 / 1.35 GB, free: 8.566 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00274/1.184, allocations: 1.528 MB / 1.351 GB, free: 6.984 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.184, allocations: 8.922 kB / 1.351 GB, free: 6.977 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/1.184, allocations: 140 kB / 1.351 GB, free: 6.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/1.185, allocations: 0.6717 MB / 1.352 GB, free: 6.117 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/1.185, allocations: 78.62 kB / 1.352 GB, free: 6.031 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/1.185, allocations: 47.98 kB / 1.352 GB, free: 5.984 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/1.186, allocations: 0.5145 MB / 1.352 GB, free: 5.457 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.186, allocations: 8 kB / 1.352 GB, free: 5.449 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/1.186, allocations: 20 kB / 1.352 GB, free: 5.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/1.186, allocations: 11.94 kB / 1.352 GB, free: 5.418 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009189/1.187, allocations: 411.7 kB / 1.353 GB, free: 5.016 MB / 1.076 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.003702/1.191, allocations: 2.732 MB / 1.356 GB, free: 2.051 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/1.192, allocations: 436 kB / 1.356 GB, free: 1.617 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/1.193, allocations: 309.2 kB / 1.356 GB, free: 1.312 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/1.193, allocations: 12.25 kB / 1.356 GB, free: 1.301 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006107/1.193, allocations: 279.8 kB / 1.357 GB, free: 1.016 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.364e-06/1.193, allocations: 0 / 1.357 GB, free: 1.016 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.002795/1.196, allocations: 1.165 MB / 1.358 GB, free: 15.8 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.196, allocations: 59.41 kB / 1.358 GB, free: 15.73 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/1.198, allocations: 1.764 MB / 1.359 GB, free: 13.96 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/1.198, allocations: 33.7 kB / 1.359 GB, free: 13.92 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/1.199, allocations: 0.5293 MB / 1.36 GB, free: 13.38 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/1.199, allocations: 146.8 kB / 1.36 GB, free: 13.24 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/1.199, allocations: 98.25 kB / 1.36 GB, free: 13.14 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.199, allocations: 330 kB / 1.361 GB, free: 12.81 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/1.2, allocations: 213 kB / 1.361 GB, free: 12.6 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/1.2, allocations: 339.1 kB / 1.361 GB, free: 12.22 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/1.201, allocations: 0.5162 MB / 1.362 GB, free: 11.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/1.201, allocations: 7.938 kB / 1.362 GB, free: 11.65 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001701/1.203, allocations: 0.8161 MB / 1.362 GB, free: 10.83 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.203, allocations: 8 kB / 1.362 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.203, allocations: 4 kB / 1.362 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/1.204, allocations: 133 kB / 1.363 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/1.204, allocations: 107.8 kB / 1.363 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/1.207, allocations: 2.599 MB / 1.365 GB, free: 7.848 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/1.208, allocations: 75.58 kB / 1.365 GB, free: 7.773 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/1.208, allocations: 24 kB / 1.365 GB, free: 7.75 MB / 1.092 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.0005447/1.208, allocations: 392.4 kB / 1.366 GB, free: 7.359 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.209, allocations: 123.1 kB / 1.366 GB, free: 7.238 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/1.209, allocations: 147.7 kB / 1.366 GB, free: 7.09 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.209, allocations: 4 kB / 1.366 GB, free: 7.086 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.209, allocations: 0 / 1.366 GB, free: 7.086 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/1.209, allocations: 4 kB / 1.366 GB, free: 7.082 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/1.211, allocations: 1.481 MB / 1.367 GB, free: 5.539 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.211, allocations: 4 kB / 1.367 GB, free: 5.535 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/1.212, allocations: 51.89 kB / 1.367 GB, free: 5.484 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/1.212, allocations: 157.6 kB / 1.368 GB, free: 5.324 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/1.212, allocations: 11.98 kB / 1.368 GB, free: 5.312 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004031/1.216, allocations: 4.036 MB / 1.371 GB, free: 1.008 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.216, allocations: 3.938 kB / 1.371 GB, free: 1.004 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/1.218, allocations: 1.001 MB / 1.372 GB, free: 15.97 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/1.218, allocations: 224.2 kB / 1.373 GB, free: 15.74 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.218, allocations: 12 kB / 1.373 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/1.219, allocations: 27.97 kB / 1.373 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.219, allocations: 47.92 kB / 1.373 GB, free: 15.65 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/1.219, allocations: 19.94 kB / 1.373 GB, free: 15.63 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001499/1.22, allocations: 1.289 MB / 1.374 GB, free: 14.34 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/1.22, allocations: 4 kB / 1.374 GB, free: 14.34 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007945/1.221, allocations: 191.8 kB / 1.374 GB, free: 14.15 MB / 1.107 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.001241/1.222, allocations: 486.1 kB / 1.375 GB, free: 13.85 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.224, allocations: 0.6625 MB / 1.375 GB, free: 13.17 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.224, allocations: 3.938 kB / 1.375 GB, free: 13.17 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008657/1.225, allocations: 0.5364 MB / 1.376 GB, free: 12.61 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.226, allocations: 200.4 kB / 1.376 GB, free: 12.42 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/1.23, allocations: 2.447 MB / 1.378 GB, free: 9.93 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.231, allocations: 1.138 MB / 1.38 GB, free: 8.766 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.232, allocations: 51.42 kB / 1.38 GB, free: 8.715 MB / 1.107 GB Notification: Performance of SimCode: time 5.71e-07/1.232, allocations: 4 kB / 1.38 GB, free: 8.711 MB / 1.107 GB Notification: Performance of Templates: time 0.02774/1.259, allocations: 17.87 MB / 1.397 GB, free: 6.852 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches