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.004935/0.004935, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001141/0.001141, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.407/1.407, allocations: 222.9 MB / 240.4 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.512/2.512, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8582/0.8595, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1647/1.024, allocations: 156.7 MB / 1.32 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02592/1.05, allocations: 21.76 MB / 1.341 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/1.053, allocations: 51.75 kB / 1.341 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/1.055, allocations: 1.169 MB / 1.342 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/1.057, allocations: 0.8484 MB / 1.343 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/1.059, allocations: 453.5 kB / 1.343 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001933/1.061, allocations: 1.247 MB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/1.062, allocations: 0.6792 MB / 1.345 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/1.063, allocations: 0.5529 MB / 1.346 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/1.064, allocations: 0.9138 MB / 1.347 GB, free: 10.67 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/1.065, allocations: 68 kB / 1.347 GB, free: 10.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/1.065, allocations: 108 kB / 1.347 GB, free: 10.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003381/1.065, allocations: 320.7 kB / 1.347 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006146/1.066, allocations: 496.8 kB / 1.348 GB, free: 9.695 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/1.067, allocations: 1.198 MB / 1.349 GB, free: 8.496 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.068, allocations: 4 kB / 1.349 GB, free: 8.492 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/1.068, allocations: 0 / 1.349 GB, free: 8.492 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.188e-05/1.068, allocations: 0 / 1.349 GB, free: 8.492 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.002707/1.07, allocations: 1.532 MB / 1.35 GB, free: 6.906 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.07, allocations: 8.625 kB / 1.35 GB, free: 6.898 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/1.071, allocations: 140 kB / 1.35 GB, free: 6.762 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009987/1.072, allocations: 0.6833 MB / 1.351 GB, free: 6.027 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/1.072, allocations: 74.69 kB / 1.351 GB, free: 5.945 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.511e-05/1.072, allocations: 44 kB / 1.351 GB, free: 5.902 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/1.073, allocations: 0.5223 MB / 1.352 GB, free: 5.367 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/1.073, allocations: 7.984 kB / 1.352 GB, free: 5.359 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/1.073, allocations: 16 kB / 1.352 GB, free: 5.344 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/1.073, allocations: 8 kB / 1.352 GB, free: 5.336 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/1.074, allocations: 419.7 kB / 1.352 GB, free: 4.926 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.003812/1.078, allocations: 2.728 MB / 1.355 GB, free: 1.965 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009859/1.079, allocations: 436.2 kB / 1.355 GB, free: 1.531 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/1.079, allocations: 313.3 kB / 1.356 GB, free: 1.223 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/1.079, allocations: 4.328 kB / 1.356 GB, free: 1.219 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/1.08, allocations: 280.1 kB / 1.356 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.795e-06/1.08, allocations: 4 kB / 1.356 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.002754/1.083, allocations: 1.153 MB / 1.357 GB, free: 15.73 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/1.083, allocations: 59.41 kB / 1.357 GB, free: 15.66 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/1.085, allocations: 1.76 MB / 1.359 GB, free: 13.89 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/1.085, allocations: 37.7 kB / 1.359 GB, free: 13.84 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/1.086, allocations: 0.5293 MB / 1.359 GB, free: 13.31 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/1.086, allocations: 158.8 kB / 1.359 GB, free: 13.15 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/1.086, allocations: 102.2 kB / 1.36 GB, free: 13.05 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.086, allocations: 330 kB / 1.36 GB, free: 12.72 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/1.087, allocations: 209 kB / 1.36 GB, free: 12.52 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/1.087, allocations: 335.1 kB / 1.36 GB, free: 12.14 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/1.088, allocations: 0.5162 MB / 1.361 GB, free: 11.58 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.088, allocations: 7.938 kB / 1.361 GB, free: 11.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001602/1.09, allocations: 0.816 MB / 1.362 GB, free: 10.75 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.09, allocations: 8 kB / 1.362 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.09, allocations: 4 kB / 1.362 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004484/1.09, allocations: 139.4 kB / 1.362 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/1.091, allocations: 99.81 kB / 1.362 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/1.094, allocations: 2.6 MB / 1.364 GB, free: 7.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/1.094, allocations: 75.66 kB / 1.365 GB, free: 7.695 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/1.094, allocations: 27.92 kB / 1.365 GB, free: 7.668 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.0004842/1.095, allocations: 384.8 kB / 1.365 GB, free: 7.285 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.095, allocations: 131.1 kB / 1.365 GB, free: 7.156 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/1.095, allocations: 143.7 kB / 1.365 GB, free: 7.012 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/1.095, allocations: 11.94 kB / 1.365 GB, free: 7 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.095, allocations: 0 / 1.365 GB, free: 7 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/1.095, allocations: 3.984 kB / 1.365 GB, free: 6.996 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/1.098, allocations: 1.489 MB / 1.367 GB, free: 5.445 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.098, allocations: 0 / 1.367 GB, free: 5.445 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/1.098, allocations: 43.91 kB / 1.367 GB, free: 5.402 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/1.098, allocations: 166.6 kB / 1.367 GB, free: 5.234 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/1.098, allocations: 12 kB / 1.367 GB, free: 5.223 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003652/1.102, allocations: 4.032 MB / 1.371 GB, free: 0.918 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.102, allocations: 0 / 1.371 GB, free: 0.918 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/1.104, allocations: 0.9975 MB / 1.372 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/1.104, allocations: 220.2 kB / 1.372 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/1.104, allocations: 12 kB / 1.372 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/1.105, allocations: 27.97 kB / 1.372 GB, free: 15.62 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.105, allocations: 51.92 kB / 1.372 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/1.105, allocations: 23.92 kB / 1.372 GB, free: 15.54 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001449/1.106, allocations: 1.285 MB / 1.373 GB, free: 14.25 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.2e-07/1.106, allocations: 0 / 1.373 GB, free: 14.25 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007727/1.107, allocations: 191.8 kB / 1.374 GB, free: 14.07 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.001179/1.108, allocations: 492.8 kB / 1.374 GB, free: 13.76 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001467/1.11, allocations: 0.6626 MB / 1.375 GB, free: 13.09 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.11, allocations: 4.312 kB / 1.375 GB, free: 13.08 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/1.111, allocations: 0.5204 MB / 1.375 GB, free: 12.54 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/1.112, allocations: 206.9 kB / 1.375 GB, free: 12.34 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/1.115, allocations: 2.392 MB / 1.378 GB, free: 9.914 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/1.116, allocations: 1.153 MB / 1.379 GB, free: 8.734 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003193/1.117, allocations: 96.77 kB / 1.379 GB, free: 8.637 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/1.117, allocations: 47.42 kB / 1.379 GB, free: 8.59 MB / 1.107 GB Notification: Performance of SimCode: time 4e-07/1.117, allocations: 0 / 1.379 GB, free: 8.59 MB / 1.107 GB Notification: Performance of Templates: time 0.02057/1.137, allocations: 10.15 MB / 1.389 GB, free: 14.54 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/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