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.006925/0.006926, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001136/0.001136, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.633/2.633, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.88 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3259, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.7859/1.112, allocations: 156.7 MB / 1.32 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03148/1.143, allocations: 21.76 MB / 1.341 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/1.147, allocations: 55.59 kB / 1.341 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/1.149, allocations: 1.164 MB / 1.342 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/1.151, allocations: 0.8649 MB / 1.343 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/1.153, allocations: 446.3 kB / 1.343 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001679/1.154, allocations: 1.259 MB / 1.345 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009216/1.155, allocations: 0.6794 MB / 1.345 GB, free: 9.883 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008276/1.156, allocations: 0.5625 MB / 1.346 GB, free: 9.688 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/1.157, allocations: 0.9143 MB / 1.347 GB, free: 9.465 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/1.157, allocations: 65.66 kB / 1.347 GB, free: 9.465 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/1.158, allocations: 104.5 kB / 1.347 GB, free: 9.457 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003264/1.158, allocations: 319.3 kB / 1.347 GB, free: 9.316 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005237/1.159, allocations: 494.8 kB / 1.348 GB, free: 8.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/1.16, allocations: 1.205 MB / 1.349 GB, free: 8.488 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.16, allocations: 1.219 kB / 1.349 GB, free: 8.488 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.595e-06/1.16, allocations: 0 / 1.349 GB, free: 8.488 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.368e-05/1.16, allocations: 0 / 1.349 GB, free: 8.488 MB / 1.029 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.002805/1.163, allocations: 1.528 MB / 1.35 GB, free: 7.422 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.163, allocations: 8.719 kB / 1.35 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/1.163, allocations: 140.5 kB / 1.35 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/1.165, allocations: 0.6836 MB / 1.351 GB, free: 6.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/1.165, allocations: 69.03 kB / 1.351 GB, free: 6.797 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-05/1.165, allocations: 49.45 kB / 1.351 GB, free: 6.781 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/1.166, allocations: 0.5217 MB / 1.352 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/1.166, allocations: 1.406 kB / 1.352 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/1.166, allocations: 16 kB / 1.352 GB, free: 6.539 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/1.166, allocations: 12.61 kB / 1.352 GB, free: 6.539 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009212/1.167, allocations: 410.8 kB / 1.352 GB, free: 6.414 MB / 1.029 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.003921/1.171, allocations: 2.731 MB / 1.355 GB, free: 4.441 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/1.172, allocations: 439.8 kB / 1.355 GB, free: 4.273 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/1.173, allocations: 314.3 kB / 1.356 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/1.173, allocations: 3.984 kB / 1.356 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005935/1.173, allocations: 285.6 kB / 1.356 GB, free: 4.047 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/1.173, allocations: 0 / 1.356 GB, free: 4.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.002796/1.176, allocations: 1.148 MB / 1.357 GB, free: 3.508 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/1.176, allocations: 63.02 kB / 1.357 GB, free: 3.441 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/1.178, allocations: 1.762 MB / 1.359 GB, free: 2.719 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/1.178, allocations: 36.61 kB / 1.359 GB, free: 2.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000477/1.179, allocations: 0.5291 MB / 1.359 GB, free: 2.219 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.179, allocations: 154.2 kB / 1.359 GB, free: 2.086 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/1.179, allocations: 102 kB / 1.36 GB, free: 2.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.179, allocations: 323.7 kB / 1.36 GB, free: 1.703 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/1.18, allocations: 218.9 kB / 1.36 GB, free: 1.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/1.18, allocations: 339.5 kB / 1.36 GB, free: 1.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009066/1.181, allocations: 0.512 MB / 1.361 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.181, allocations: 5.375 kB / 1.361 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001649/1.183, allocations: 0.8154 MB / 1.362 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.183, allocations: 10.75 kB / 1.362 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/1.183, allocations: 3.125 kB / 1.362 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/1.183, allocations: 135.5 kB / 1.362 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/1.184, allocations: 102.3 kB / 1.362 GB, free: 476 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/1.187, allocations: 2.604 MB / 1.364 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/1.187, allocations: 76 kB / 1.365 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/1.187, allocations: 25.16 kB / 1.365 GB, free: 14.18 MB / 1.045 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.0006633/1.188, allocations: 392.7 kB / 1.365 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/1.188, allocations: 124.6 kB / 1.365 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/1.188, allocations: 141.5 kB / 1.365 GB, free: 13.78 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.188, allocations: 4.594 kB / 1.365 GB, free: 13.78 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.188, allocations: 2.625 kB / 1.365 GB, free: 13.78 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.188, allocations: 3.984 kB / 1.365 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/1.191, allocations: 1.495 MB / 1.367 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.191, allocations: 0 / 1.367 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/1.191, allocations: 44.81 kB / 1.367 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/1.192, allocations: 162.1 kB / 1.367 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/1.192, allocations: 10.75 kB / 1.367 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003668/1.195, allocations: 4.029 MB / 1.371 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.195, allocations: 2.688 kB / 1.371 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/1.197, allocations: 0.9991 MB / 1.372 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/1.198, allocations: 216.6 kB / 1.372 GB, free: 8.168 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/1.198, allocations: 12.97 kB / 1.372 GB, free: 8.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/1.198, allocations: 28.34 kB / 1.372 GB, free: 8.145 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/1.198, allocations: 50.61 kB / 1.372 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/1.198, allocations: 24.58 kB / 1.372 GB, free: 8.105 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001458/1.2, allocations: 1.288 MB / 1.373 GB, free: 7.508 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.31e-07/1.2, allocations: 0 / 1.373 GB, free: 7.508 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008125/1.2, allocations: 196.1 kB / 1.374 GB, free: 7.469 MB / 1.045 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.001093/1.202, allocations: 493.8 kB / 1.374 GB, free: 7.234 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001308/1.203, allocations: 0.6568 MB / 1.375 GB, free: 6.859 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.203, allocations: 0 / 1.375 GB, free: 6.859 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007832/1.204, allocations: 0.531 MB / 1.375 GB, free: 6.465 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009675/1.205, allocations: 207.3 kB / 1.375 GB, free: 6.348 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/1.208, allocations: 2.383 MB / 1.378 GB, free: 5.086 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/1.209, allocations: 1.149 MB / 1.379 GB, free: 4.176 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002781/1.209, allocations: 97.17 kB / 1.379 GB, free: 4.129 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.209, allocations: 47.8 kB / 1.379 GB, free: 4.113 MB / 1.045 GB Notification: Performance of SimCode: time 3.9e-07/1.209, allocations: 0 / 1.379 GB, free: 4.113 MB / 1.045 GB Notification: Performance of Templates: time 0.01876/1.228, allocations: 10.15 MB / 1.389 GB, free: 15.17 MB / 1.061 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/jenkins/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