Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.001309, allocations: 112 kB / 16.41 MB, free: 6.484 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.001294/0.001294, allocations: 183 kB / 17.34 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.17 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.4/2.4, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8741/0.8755, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1738/1.049, allocations: 157 MB / 1.321 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02821/1.078, allocations: 21.87 MB / 1.342 GB, free: 284 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/1.08, allocations: 55.69 kB / 1.342 GB, free: 228 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/1.082, allocations: 1.348 MB / 1.343 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/1.084, allocations: 0.9887 MB / 1.344 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/1.086, allocations: 0.5108 MB / 1.345 GB, free: 13.37 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002133/1.088, allocations: 1.43 MB / 1.346 GB, free: 11.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/1.09, allocations: 0.7846 MB / 1.347 GB, free: 11.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/1.091, allocations: 0.6503 MB / 1.348 GB, free: 10.49 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/1.093, allocations: 1.102 MB / 1.349 GB, free: 9.387 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002457/1.093, allocations: 72 kB / 1.349 GB, free: 9.316 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/1.093, allocations: 128 kB / 1.349 GB, free: 9.191 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003927/1.094, allocations: 364.5 kB / 1.349 GB, free: 8.832 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007736/1.094, allocations: 0.5626 MB / 1.35 GB, free: 8.266 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/1.096, allocations: 1.364 MB / 1.351 GB, free: 6.898 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.096, allocations: 0 / 1.351 GB, free: 6.898 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.494e-06/1.096, allocations: 0 / 1.351 GB, free: 6.898 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.836e-05/1.096, allocations: 0 / 1.351 GB, free: 6.898 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003245/1.1, allocations: 1.682 MB / 1.353 GB, free: 5.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.1, allocations: 12.91 kB / 1.353 GB, free: 5.148 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/1.1, allocations: 159 kB / 1.353 GB, free: 4.992 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/1.101, allocations: 0.7555 MB / 1.354 GB, free: 4.188 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/1.101, allocations: 74.69 kB / 1.354 GB, free: 4.105 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/1.101, allocations: 59.92 kB / 1.354 GB, free: 4.047 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/1.103, allocations: 0.5691 MB / 1.354 GB, free: 3.465 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.103, allocations: 0 / 1.354 GB, free: 3.465 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/1.103, allocations: 28 kB / 1.354 GB, free: 3.438 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/1.103, allocations: 8 kB / 1.354 GB, free: 3.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/1.104, allocations: 447.7 kB / 1.355 GB, free: 2.988 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.004217/1.108, allocations: 3.002 MB / 1.358 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/1.109, allocations: 499.5 kB / 1.358 GB, free: 15.21 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/1.11, allocations: 321.4 kB / 1.359 GB, free: 14.9 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/1.11, allocations: 12.36 kB / 1.359 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/1.11, allocations: 325.1 kB / 1.359 GB, free: 14.56 MB / 1.092 GB Notification: Performance of pre-optimization done (n=52): time 3.186e-06/1.11, allocations: 0 / 1.359 GB, free: 14.56 MB / 1.092 GB Notification: Performance of matching and sorting (n=52): time 0.003084/1.113, allocations: 1.349 MB / 1.36 GB, free: 13.16 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/1.113, allocations: 59.84 kB / 1.36 GB, free: 13.09 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/1.116, allocations: 2.12 MB / 1.362 GB, free: 10.96 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/1.116, allocations: 41.7 kB / 1.362 GB, free: 10.91 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005057/1.117, allocations: 0.6245 MB / 1.363 GB, free: 10.29 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/1.117, allocations: 173.6 kB / 1.363 GB, free: 10.11 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.117, allocations: 106.2 kB / 1.363 GB, free: 10 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.117, allocations: 330 kB / 1.364 GB, free: 9.676 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/1.118, allocations: 237.2 kB / 1.364 GB, free: 9.441 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/1.118, allocations: 341.9 kB / 1.364 GB, free: 9.07 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/1.119, allocations: 0.5573 MB / 1.365 GB, free: 8.477 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.119, allocations: 0 / 1.365 GB, free: 8.477 MB / 1.092 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001744/1.121, allocations: 0.9083 MB / 1.366 GB, free: 7.559 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.121, allocations: 7.938 kB / 1.366 GB, free: 7.551 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.121, allocations: 8.156 kB / 1.366 GB, free: 7.543 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/1.122, allocations: 196.7 kB / 1.366 GB, free: 7.348 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/1.122, allocations: 103.8 kB / 1.366 GB, free: 7.246 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/1.126, allocations: 3.05 MB / 1.369 GB, free: 4.059 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/1.126, allocations: 75.47 kB / 1.369 GB, free: 3.984 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/1.126, allocations: 23.98 kB / 1.369 GB, free: 3.961 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005735/1.127, allocations: 439.7 kB / 1.369 GB, free: 3.523 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/1.127, allocations: 138.2 kB / 1.369 GB, free: 3.387 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/1.127, allocations: 178 kB / 1.37 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.127, allocations: 7.938 kB / 1.37 GB, free: 3.203 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.127, allocations: 4 kB / 1.37 GB, free: 3.199 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/1.127, allocations: 3.984 kB / 1.37 GB, free: 3.195 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/1.13, allocations: 1.731 MB / 1.371 GB, free: 1.391 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.13, allocations: 0 / 1.371 GB, free: 1.391 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/1.131, allocations: 47.91 kB / 1.371 GB, free: 1.344 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004957/1.131, allocations: 205.5 kB / 1.372 GB, free: 1.137 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/1.131, allocations: 15.98 kB / 1.372 GB, free: 1.121 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004754/1.136, allocations: 4.594 MB / 1.376 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.136, allocations: 0 / 1.376 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/1.138, allocations: 1.167 MB / 1.377 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/1.138, allocations: 235.3 kB / 1.377 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/1.139, allocations: 12 kB / 1.377 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/1.139, allocations: 39.95 kB / 1.377 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.139, allocations: 60.36 kB / 1.378 GB, free: 10.7 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/1.139, allocations: 23.92 kB / 1.378 GB, free: 10.67 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001697/1.141, allocations: 1.541 MB / 1.379 GB, free: 9.133 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.8e-07/1.141, allocations: 0 / 1.379 GB, free: 9.133 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008472/1.142, allocations: 231.6 kB / 1.379 GB, free: 8.906 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001138/1.143, allocations: 489.6 kB / 1.38 GB, free: 8.609 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001623/1.145, allocations: 0.7714 MB / 1.38 GB, free: 7.828 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.145, allocations: 0 / 1.38 GB, free: 7.828 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009481/1.146, allocations: 0.5745 MB / 1.381 GB, free: 7.23 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/1.147, allocations: 227.4 kB / 1.381 GB, free: 7.02 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/1.151, allocations: 2.848 MB / 1.384 GB, free: 4.129 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008698/1.152, allocations: 1.236 MB / 1.385 GB, free: 2.863 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/1.152, allocations: 55.42 kB / 1.385 GB, free: 2.809 MB / 1.107 GB Notification: Performance of SimCode: time 7.92e-07/1.152, allocations: 0 / 1.385 GB, free: 2.809 MB / 1.107 GB Notification: Performance of Templates: time 0.02764/1.18, allocations: 20.46 MB / 1.405 GB, free: 14.37 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches