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.001507/0.001507, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001704/0.001704, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.07 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.343/2.343, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8747/0.876, allocations: 151.6 MB / 1.167 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1777/1.054, allocations: 156.8 MB / 1.32 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0323/1.086, allocations: 21.74 MB / 1.342 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/1.089, allocations: 55.69 kB / 1.342 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/1.09, allocations: 1.165 MB / 1.343 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/1.092, allocations: 0.8756 MB / 1.344 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/1.094, allocations: 446.7 kB / 1.344 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001576/1.095, allocations: 1.247 MB / 1.345 GB, free: 13.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008922/1.096, allocations: 0.687 MB / 1.346 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/1.097, allocations: 0.5568 MB / 1.346 GB, free: 11.78 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/1.098, allocations: 0.9195 MB / 1.347 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/1.098, allocations: 64 kB / 1.347 GB, free: 10.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/1.098, allocations: 108 kB / 1.348 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002556/1.099, allocations: 316.8 kB / 1.348 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000398/1.099, allocations: 496.8 kB / 1.348 GB, free: 9.895 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/1.1, allocations: 1.195 MB / 1.35 GB, free: 8.695 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.1, allocations: 4 kB / 1.35 GB, free: 8.691 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.904e-06/1.1, allocations: 0 / 1.35 GB, free: 8.691 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.1, allocations: 0 / 1.35 GB, free: 8.691 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.002223/1.102, allocations: 1.49 MB / 1.351 GB, free: 7.148 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.102, allocations: 12.92 kB / 1.351 GB, free: 7.137 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/1.103, allocations: 139.2 kB / 1.351 GB, free: 7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000895/1.104, allocations: 0.659 MB / 1.352 GB, free: 6.289 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/1.104, allocations: 74.62 kB / 1.352 GB, free: 6.207 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.89e-05/1.104, allocations: 44 kB / 1.352 GB, free: 6.164 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/1.105, allocations: 0.5184 MB / 1.352 GB, free: 5.633 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/1.105, allocations: 0 / 1.352 GB, free: 5.633 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/1.105, allocations: 23.98 kB / 1.352 GB, free: 5.609 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/1.105, allocations: 12 kB / 1.352 GB, free: 5.598 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008037/1.106, allocations: 411.7 kB / 1.353 GB, free: 5.195 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.003435/1.109, allocations: 2.72 MB / 1.355 GB, free: 2.242 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009267/1.11, allocations: 451.9 kB / 1.356 GB, free: 1.793 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/1.111, allocations: 301.3 kB / 1.356 GB, free: 1.496 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/1.111, allocations: 8.266 kB / 1.356 GB, free: 1.488 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005293/1.111, allocations: 283.8 kB / 1.356 GB, free: 1.199 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/1.111, allocations: 0 / 1.356 GB, free: 1.199 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.002584/1.114, allocations: 1.156 MB / 1.358 GB, free: 15.99 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/1.114, allocations: 59.41 kB / 1.358 GB, free: 15.92 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/1.116, allocations: 1.756 MB / 1.359 GB, free: 14.16 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/1.116, allocations: 45.69 kB / 1.359 GB, free: 14.11 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/1.116, allocations: 0.5249 MB / 1.36 GB, free: 13.57 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.116, allocations: 142 kB / 1.36 GB, free: 13.43 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/1.116, allocations: 98.25 kB / 1.36 GB, free: 13.33 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.117, allocations: 326 kB / 1.36 GB, free: 13.01 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/1.117, allocations: 217 kB / 1.361 GB, free: 12.8 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/1.118, allocations: 335.1 kB / 1.361 GB, free: 12.42 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008229/1.118, allocations: 0.5123 MB / 1.361 GB, free: 11.86 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.118, allocations: 7.922 kB / 1.361 GB, free: 11.86 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001482/1.12, allocations: 0.8114 MB / 1.362 GB, free: 11.04 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.12, allocations: 8 kB / 1.362 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.12, allocations: 0 / 1.362 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/1.12, allocations: 144.9 kB / 1.362 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/1.121, allocations: 99.81 kB / 1.363 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/1.123, allocations: 2.607 MB / 1.365 GB, free: 8.047 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/1.124, allocations: 75.39 kB / 1.365 GB, free: 7.973 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/1.124, allocations: 20 kB / 1.365 GB, free: 7.953 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.0005109/1.125, allocations: 392.5 kB / 1.366 GB, free: 7.562 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/1.125, allocations: 114.5 kB / 1.366 GB, free: 7.449 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/1.125, allocations: 139.7 kB / 1.366 GB, free: 7.309 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.125, allocations: 4 kB / 1.366 GB, free: 7.305 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.125, allocations: 4 kB / 1.366 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.125, allocations: 3.984 kB / 1.366 GB, free: 7.297 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/1.127, allocations: 1.489 MB / 1.367 GB, free: 5.746 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/1.127, allocations: 4 kB / 1.367 GB, free: 5.742 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/1.127, allocations: 47.91 kB / 1.367 GB, free: 5.695 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003757/1.128, allocations: 161.6 kB / 1.367 GB, free: 5.531 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/1.128, allocations: 15.98 kB / 1.367 GB, free: 5.516 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/1.131, allocations: 4.022 MB / 1.371 GB, free: 1.223 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.131, allocations: 0 / 1.371 GB, free: 1.223 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/1.133, allocations: 0.9929 MB / 1.372 GB, free: 208 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/1.133, allocations: 211.5 kB / 1.373 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/1.133, allocations: 19.98 kB / 1.373 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/1.134, allocations: 23.97 kB / 1.373 GB, free: 15.93 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.134, allocations: 47.94 kB / 1.373 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/1.134, allocations: 19.92 kB / 1.373 GB, free: 15.87 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001293/1.135, allocations: 1.293 MB / 1.374 GB, free: 14.57 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.135, allocations: 0 / 1.374 GB, free: 14.57 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007368/1.136, allocations: 199.7 kB / 1.374 GB, free: 14.38 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.001116/1.137, allocations: 485.1 kB / 1.375 GB, free: 14.08 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001315/1.138, allocations: 0.6664 MB / 1.375 GB, free: 13.4 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.138, allocations: 3.938 kB / 1.375 GB, free: 13.39 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007548/1.139, allocations: 0.5324 MB / 1.376 GB, free: 12.84 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/1.14, allocations: 201.5 kB / 1.376 GB, free: 12.64 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/1.143, allocations: 2.412 MB / 1.378 GB, free: 10.2 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/1.144, allocations: 1.138 MB / 1.379 GB, free: 9.031 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/1.144, allocations: 51.36 kB / 1.379 GB, free: 8.98 MB / 1.107 GB Notification: Performance of SimCode: time 7.61e-07/1.144, allocations: 0 / 1.379 GB, free: 8.98 MB / 1.107 GB Notification: Performance of Templates: time 0.02356/1.168, allocations: 17.86 MB / 1.397 GB, free: 7.137 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