Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 101.3 kB / 16.4 MB, free: 6.465 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.001052/0.001052, allocations: 192.2 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.441/2.441, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 60.36 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9281/0.93, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1678/1.098, allocations: 156.7 MB / 1.32 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02644/1.124, allocations: 21.75 MB / 1.342 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/1.127, allocations: 55.69 kB / 1.342 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/1.129, allocations: 1.165 MB / 1.343 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/1.13, allocations: 0.8679 MB / 1.344 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/1.131, allocations: 441.5 kB / 1.344 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001699/1.133, allocations: 1.259 MB / 1.345 GB, free: 12.92 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/1.134, allocations: 0.6869 MB / 1.346 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/1.135, allocations: 0.553 MB / 1.346 GB, free: 11.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009679/1.136, allocations: 0.9138 MB / 1.347 GB, free: 10.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/1.136, allocations: 67.98 kB / 1.347 GB, free: 10.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/1.136, allocations: 112 kB / 1.348 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/1.137, allocations: 320.7 kB / 1.348 GB, free: 10.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004163/1.137, allocations: 492.8 kB / 1.348 GB, free: 9.781 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/1.138, allocations: 1.206 MB / 1.35 GB, free: 8.574 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.138, allocations: 0 / 1.35 GB, free: 8.574 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.753e-06/1.138, allocations: 3.938 kB / 1.35 GB, free: 8.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.329e-05/1.138, allocations: 0 / 1.35 GB, free: 8.57 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.002236/1.141, allocations: 1.525 MB / 1.351 GB, free: 6.992 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.141, allocations: 8.625 kB / 1.351 GB, free: 6.984 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/1.141, allocations: 144 kB / 1.351 GB, free: 6.844 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007851/1.142, allocations: 0.6717 MB / 1.352 GB, free: 6.121 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/1.142, allocations: 74.69 kB / 1.352 GB, free: 6.039 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/1.142, allocations: 48 kB / 1.352 GB, free: 5.992 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/1.143, allocations: 0.5184 MB / 1.352 GB, free: 5.461 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/1.143, allocations: 3.938 kB / 1.352 GB, free: 5.457 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/1.143, allocations: 19.98 kB / 1.352 GB, free: 5.438 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/1.143, allocations: 8 kB / 1.352 GB, free: 5.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/1.144, allocations: 419.7 kB / 1.353 GB, free: 5.02 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.003375/1.147, allocations: 2.724 MB / 1.356 GB, free: 2.062 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/1.148, allocations: 444.4 kB / 1.356 GB, free: 1.621 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/1.149, allocations: 305.3 kB / 1.356 GB, free: 1.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/1.149, allocations: 8.328 kB / 1.356 GB, free: 1.312 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005456/1.15, allocations: 279.8 kB / 1.357 GB, free: 1.027 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.705e-06/1.15, allocations: 0 / 1.357 GB, free: 1.027 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.002688/1.152, allocations: 1.169 MB / 1.358 GB, free: 15.81 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/1.152, allocations: 59.41 kB / 1.358 GB, free: 15.74 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/1.154, allocations: 1.76 MB / 1.359 GB, free: 13.97 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/1.154, allocations: 41.69 kB / 1.359 GB, free: 13.92 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/1.155, allocations: 0.5253 MB / 1.36 GB, free: 13.39 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.155, allocations: 146.8 kB / 1.36 GB, free: 13.25 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/1.155, allocations: 94.25 kB / 1.36 GB, free: 13.15 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.155, allocations: 338 kB / 1.361 GB, free: 12.81 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/1.156, allocations: 205 kB / 1.361 GB, free: 12.61 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/1.156, allocations: 343.1 kB / 1.361 GB, free: 12.23 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009349/1.157, allocations: 0.5196 MB / 1.362 GB, free: 11.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.157, allocations: 7.938 kB / 1.362 GB, free: 11.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001631/1.159, allocations: 0.8124 MB / 1.362 GB, free: 10.84 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.159, allocations: 12.22 kB / 1.362 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.159, allocations: 4 kB / 1.362 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/1.159, allocations: 130.9 kB / 1.363 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/1.16, allocations: 99.88 kB / 1.363 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/1.163, allocations: 2.61 MB / 1.365 GB, free: 7.855 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/1.163, allocations: 79.64 kB / 1.365 GB, free: 7.777 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/1.163, allocations: 24 kB / 1.365 GB, free: 7.754 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.0005149/1.164, allocations: 388.6 kB / 1.366 GB, free: 7.367 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/1.164, allocations: 123.1 kB / 1.366 GB, free: 7.246 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/1.164, allocations: 139.7 kB / 1.366 GB, free: 7.105 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.164, allocations: 4 kB / 1.366 GB, free: 7.102 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.164, allocations: 0 / 1.366 GB, free: 7.102 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/1.164, allocations: 11.98 kB / 1.366 GB, free: 7.09 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/1.167, allocations: 1.493 MB / 1.367 GB, free: 5.535 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.167, allocations: 0 / 1.367 GB, free: 5.535 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/1.167, allocations: 39.97 kB / 1.367 GB, free: 5.496 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/1.167, allocations: 174.9 kB / 1.368 GB, free: 5.32 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/1.167, allocations: 15.98 kB / 1.368 GB, free: 5.305 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/1.171, allocations: 4.013 MB / 1.371 GB, free: 1.02 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.171, allocations: 0 / 1.371 GB, free: 1.02 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/1.173, allocations: 1.006 MB / 1.372 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/1.173, allocations: 224.3 kB / 1.373 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/1.174, allocations: 11.98 kB / 1.373 GB, free: 15.74 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/1.174, allocations: 31.97 kB / 1.373 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.174, allocations: 51.92 kB / 1.373 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/1.174, allocations: 23.88 kB / 1.373 GB, free: 15.63 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001685/1.176, allocations: 1.285 MB / 1.374 GB, free: 14.34 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.176, allocations: 0 / 1.374 GB, free: 14.34 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008552/1.177, allocations: 199.7 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.001288/1.178, allocations: 475.7 kB / 1.375 GB, free: 13.86 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001615/1.18, allocations: 0.6741 MB / 1.375 GB, free: 13.17 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.18, allocations: 0 / 1.375 GB, free: 13.17 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008925/1.181, allocations: 0.5286 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.001131/1.182, allocations: 196.8 kB / 1.376 GB, free: 12.43 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/1.186, allocations: 2.45 MB / 1.378 GB, free: 9.938 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.188, allocations: 1.142 MB / 1.38 GB, free: 8.77 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/1.188, allocations: 51.42 kB / 1.38 GB, free: 8.719 MB / 1.107 GB Notification: Performance of SimCode: time 2.234e-06/1.188, allocations: 0 / 1.38 GB, free: 8.719 MB / 1.107 GB Notification: Performance of Templates: time 0.03119/1.219, allocations: 17.88 MB / 1.397 GB, free: 6.855 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches