Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 209.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.161/3.161, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.08 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3637, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1871/0.5508, allocations: 138.5 MB / 1.499 GB, free: 2.48 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03147/0.5822, allocations: 19.72 MB / 1.518 GB, free: 14.71 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.5845, allocations: 71.44 kB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.5866, allocations: 1.173 MB / 1.52 GB, free: 13.46 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.5886, allocations: 0.9107 MB / 1.52 GB, free: 12.55 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.5897, allocations: 382.9 kB / 1.521 GB, free: 12.17 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.5916, allocations: 1.278 MB / 1.522 GB, free: 10.89 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007972/0.5924, allocations: 0.5429 MB / 1.523 GB, free: 10.34 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008711/0.5933, allocations: 0.5647 MB / 1.523 GB, free: 9.773 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.5946, allocations: 0.9877 MB / 1.524 GB, free: 8.781 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.5948, allocations: 64 kB / 1.524 GB, free: 8.719 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.5951, allocations: 108 kB / 1.524 GB, free: 8.613 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.5954, allocations: 328.7 kB / 1.525 GB, free: 8.293 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.5958, allocations: 389.5 kB / 1.525 GB, free: 7.91 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.5973, allocations: 1.233 MB / 1.526 GB, free: 6.672 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5973, allocations: 4 kB / 1.526 GB, free: 6.668 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5973, allocations: 0 / 1.526 GB, free: 6.668 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.5973, allocations: 0 / 1.526 GB, free: 6.668 MB / 1.217 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.002737/0.6, allocations: 1.497 MB / 1.528 GB, free: 5.133 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6001, allocations: 12.03 kB / 1.528 GB, free: 5.121 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.6003, allocations: 140 kB / 1.528 GB, free: 4.984 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.6014, allocations: 0.6142 MB / 1.528 GB, free: 4.328 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.6015, allocations: 104.4 kB / 1.528 GB, free: 4.215 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/0.6016, allocations: 44 kB / 1.529 GB, free: 4.172 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.6027, allocations: 0.5262 MB / 1.529 GB, free: 3.637 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.6027, allocations: 8 kB / 1.529 GB, free: 3.629 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.6028, allocations: 16 kB / 1.529 GB, free: 3.613 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.6028, allocations: 11.94 kB / 1.529 GB, free: 3.602 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/0.6037, allocations: 415.7 kB / 1.529 GB, free: 3.191 MB / 1.217 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.003563/0.6073, allocations: 1.769 MB / 1.531 GB, free: 1.391 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.6084, allocations: 419.7 kB / 1.532 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.6091, allocations: 286.4 kB / 1.532 GB, free: 0.6875 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.6091, allocations: 8.266 kB / 1.532 GB, free: 0.6797 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005996/0.6097, allocations: 292.8 kB / 1.532 GB, free: 392 kB / 1.217 GB Notification: Performance of pre-optimization done (n=44): time 2.936e-06/0.6097, allocations: 0 / 1.532 GB, free: 392 kB / 1.217 GB Notification: Performance of matching and sorting (n=44): time 0.002749/0.6124, allocations: 0.9938 MB / 1.533 GB, free: 15.38 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.6125, allocations: 59.34 kB / 1.533 GB, free: 15.3 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.6146, allocations: 1.771 MB / 1.535 GB, free: 13.52 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.6147, allocations: 37.7 kB / 1.535 GB, free: 13.48 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/0.6152, allocations: 0.5298 MB / 1.535 GB, free: 12.95 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.6153, allocations: 150.7 kB / 1.536 GB, free: 12.8 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.6155, allocations: 102.3 kB / 1.536 GB, free: 12.69 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6157, allocations: 330 kB / 1.536 GB, free: 12.36 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.6162, allocations: 213.2 kB / 1.536 GB, free: 12.15 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.6168, allocations: 340.1 kB / 1.537 GB, free: 11.77 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009962/0.6178, allocations: 0.5262 MB / 1.537 GB, free: 11.2 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6178, allocations: 4 kB / 1.537 GB, free: 11.2 MB / 1.232 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001755/0.6195, allocations: 0.8153 MB / 1.538 GB, free: 10.37 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6196, allocations: 8 kB / 1.538 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.6196, allocations: 11.88 kB / 1.538 GB, free: 10.35 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/0.62, allocations: 133 kB / 1.538 GB, free: 10.22 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.6204, allocations: 103.8 kB / 1.538 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/0.6237, allocations: 2.452 MB / 1.541 GB, free: 7.566 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.6241, allocations: 67.7 kB / 1.541 GB, free: 7.5 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.6242, allocations: 23.98 kB / 1.541 GB, free: 7.477 MB / 1.232 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,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * 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.0005525/0.6247, allocations: 395.4 kB / 1.541 GB, free: 7.082 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.6249, allocations: 123.2 kB / 1.541 GB, free: 6.961 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.6264, allocations: 0.7163 MB / 1.542 GB, free: 6.23 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.6264, allocations: 4 kB / 1.542 GB, free: 6.227 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6264, allocations: 7.938 kB / 1.542 GB, free: 6.219 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6264, allocations: 0 / 1.542 GB, free: 6.219 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.6289, allocations: 1.374 MB / 1.543 GB, free: 4.805 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.629, allocations: 0 / 1.543 GB, free: 4.805 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.6292, allocations: 47.95 kB / 1.543 GB, free: 4.758 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.6296, allocations: 161.6 kB / 1.543 GB, free: 4.594 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.6297, allocations: 19.92 kB / 1.543 GB, free: 4.574 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/0.6341, allocations: 3.971 MB / 1.547 GB, free: 412 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6341, allocations: 0 / 1.547 GB, free: 412 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.636, allocations: 1.005 MB / 1.548 GB, free: 15.37 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.6363, allocations: 143.1 kB / 1.548 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.23e-05/0.6364, allocations: 19.98 kB / 1.548 GB, free: 15.21 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.6367, allocations: 31.91 kB / 1.548 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.6368, allocations: 55.91 kB / 1.548 GB, free: 15.12 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.6369, allocations: 11.98 kB / 1.548 GB, free: 15.11 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001575/0.6385, allocations: 1.292 MB / 1.55 GB, free: 13.82 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6385, allocations: 0 / 1.55 GB, free: 13.82 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008081/0.6393, allocations: 207.7 kB / 1.55 GB, free: 13.61 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (30): * Single equations (assignments): 22 * 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.002011/0.6413, allocations: 0.5045 MB / 1.55 GB, free: 13.32 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.6428, allocations: 0.6502 MB / 1.551 GB, free: 12.66 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6428, allocations: 0.875 kB / 1.551 GB, free: 12.66 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.6438, allocations: 0.5243 MB / 1.552 GB, free: 12.11 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/0.6447, allocations: 200.3 kB / 1.552 GB, free: 11.92 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.6486, allocations: 2.402 MB / 1.554 GB, free: 9.484 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.6493, allocations: 0.5544 MB / 1.555 GB, free: 8.895 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.6496, allocations: 100.7 kB / 1.555 GB, free: 8.797 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.6498, allocations: 47.42 kB / 1.555 GB, free: 8.75 MB / 1.248 GB Notification: Performance of SimCode: time 9.82e-07/0.6498, allocations: 0 / 1.555 GB, free: 8.75 MB / 1.248 GB Notification: Performance of Templates: time 0.02308/0.6728, allocations: 11.67 MB / 1.566 GB, free: 13.25 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.106123460456729]