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.001887/0.001887, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002331/0.002331, allocations: 212.5 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.359/3.359, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.002105/0.002105, allocations: 68.25 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4531, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1951/0.6481, allocations: 138.5 MB / 1.5 GB, free: 2.527 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02973/0.6779, allocations: 19.72 MB / 1.519 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/0.6804, allocations: 71.44 kB / 1.519 GB, free: 14.68 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.6824, allocations: 1.165 MB / 1.52 GB, free: 13.52 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.6847, allocations: 0.9185 MB / 1.521 GB, free: 12.59 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.6861, allocations: 386.9 kB / 1.522 GB, free: 12.21 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.6882, allocations: 1.27 MB / 1.523 GB, free: 10.94 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.6891, allocations: 0.5429 MB / 1.523 GB, free: 10.39 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009754/0.6901, allocations: 0.5763 MB / 1.524 GB, free: 9.812 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.6915, allocations: 0.9838 MB / 1.525 GB, free: 8.824 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.6916, allocations: 64 kB / 1.525 GB, free: 8.762 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.692, allocations: 108 kB / 1.525 GB, free: 8.656 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.6923, allocations: 328.7 kB / 1.525 GB, free: 8.336 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000437/0.6927, allocations: 385.5 kB / 1.526 GB, free: 7.957 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.6943, allocations: 1.233 MB / 1.527 GB, free: 6.719 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6944, allocations: 0 / 1.527 GB, free: 6.719 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6944, allocations: 7.938 kB / 1.527 GB, free: 6.711 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.6944, allocations: 0 / 1.527 GB, free: 6.711 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.002859/0.6972, allocations: 1.501 MB / 1.528 GB, free: 5.172 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6973, allocations: 8.031 kB / 1.528 GB, free: 5.164 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.6975, allocations: 140 kB / 1.529 GB, free: 5.027 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.6986, allocations: 0.6142 MB / 1.529 GB, free: 4.371 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.6988, allocations: 96.39 kB / 1.529 GB, free: 4.266 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.6989, allocations: 44 kB / 1.529 GB, free: 4.223 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.7, allocations: 0.5301 MB / 1.53 GB, free: 3.684 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.7, allocations: 0 / 1.53 GB, free: 3.684 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.7, allocations: 16 kB / 1.53 GB, free: 3.668 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.7001, allocations: 12 kB / 1.53 GB, free: 3.656 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009123/0.701, allocations: 415.7 kB / 1.53 GB, free: 3.246 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.003619/0.7046, allocations: 1.78 MB / 1.532 GB, free: 1.434 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.7056, allocations: 421.5 kB / 1.532 GB, free: 1.012 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006816/0.7063, allocations: 285.3 kB / 1.533 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.7063, allocations: 8.266 kB / 1.533 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006148/0.707, allocations: 284.8 kB / 1.533 GB, free: 444 kB / 1.217 GB Notification: Performance of pre-optimization done (n=44): time 3.526e-06/0.707, allocations: 4 kB / 1.533 GB, free: 440 kB / 1.217 GB Notification: Performance of matching and sorting (n=44): time 0.002869/0.7098, allocations: 0.9977 MB / 1.534 GB, free: 15.42 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.7099, allocations: 59.39 kB / 1.534 GB, free: 15.35 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.7123, allocations: 1.771 MB / 1.536 GB, free: 13.57 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.7124, allocations: 33.7 kB / 1.536 GB, free: 13.53 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.7129, allocations: 0.5298 MB / 1.536 GB, free: 12.99 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.7131, allocations: 150.7 kB / 1.536 GB, free: 12.84 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.7133, allocations: 98.34 kB / 1.536 GB, free: 12.74 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.7134, allocations: 330 kB / 1.537 GB, free: 12.41 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.714, allocations: 225.1 kB / 1.537 GB, free: 12.19 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.7146, allocations: 336.1 kB / 1.537 GB, free: 11.82 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.7156, allocations: 0.5304 MB / 1.538 GB, free: 11.24 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7156, allocations: 0 / 1.538 GB, free: 11.24 MB / 1.232 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001801/0.7174, allocations: 0.814 MB / 1.539 GB, free: 10.41 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.7174, allocations: 8 kB / 1.539 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.7174, allocations: 7.938 kB / 1.539 GB, free: 10.4 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004493/0.7179, allocations: 130.8 kB / 1.539 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.7183, allocations: 108 kB / 1.539 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/0.7218, allocations: 2.447 MB / 1.541 GB, free: 7.621 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.7223, allocations: 75.75 kB / 1.541 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.7224, allocations: 20 kB / 1.541 GB, free: 7.527 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.0007617/0.7231, allocations: 395.2 kB / 1.542 GB, free: 7.133 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.7233, allocations: 127.1 kB / 1.542 GB, free: 7.008 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.7249, allocations: 0.7164 MB / 1.543 GB, free: 6.277 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.7249, allocations: 4 kB / 1.543 GB, free: 6.273 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7249, allocations: 7.938 kB / 1.543 GB, free: 6.266 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.7249, allocations: 7.984 kB / 1.543 GB, free: 6.258 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.7276, allocations: 1.37 MB / 1.544 GB, free: 4.848 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.7276, allocations: 7.938 kB / 1.544 GB, free: 4.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.7278, allocations: 47.95 kB / 1.544 GB, free: 4.793 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.7283, allocations: 149.6 kB / 1.544 GB, free: 4.641 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.7283, allocations: 27.92 kB / 1.544 GB, free: 4.613 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.7329, allocations: 3.968 MB / 1.548 GB, free: 456 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7329, allocations: 0 / 1.548 GB, free: 456 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.735, allocations: 1.005 MB / 1.549 GB, free: 15.41 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.7354, allocations: 143.1 kB / 1.549 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.7355, allocations: 15.98 kB / 1.549 GB, free: 15.26 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.7358, allocations: 23.97 kB / 1.549 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.736, allocations: 59.91 kB / 1.549 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.736, allocations: 19.92 kB / 1.549 GB, free: 15.16 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001683/0.7377, allocations: 1.289 MB / 1.551 GB, free: 13.86 MB / 1.248 GB Notification: Performance of sort global known variables: time 6e-08/0.7377, allocations: 0 / 1.551 GB, free: 13.86 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008627/0.7386, allocations: 207.7 kB / 1.551 GB, free: 13.66 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.002064/0.7406, allocations: 0.495 MB / 1.551 GB, free: 13.37 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.7423, allocations: 0.6568 MB / 1.552 GB, free: 12.7 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.7423, allocations: 4 kB / 1.552 GB, free: 12.7 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000939/0.7433, allocations: 0.5208 MB / 1.552 GB, free: 12.15 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.7444, allocations: 204.2 kB / 1.553 GB, free: 11.96 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/0.7489, allocations: 2.451 MB / 1.555 GB, free: 9.469 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.7497, allocations: 0.5505 MB / 1.555 GB, free: 8.883 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.7498, allocations: 51.42 kB / 1.556 GB, free: 8.832 MB / 1.248 GB Notification: Performance of SimCode: time 1.112e-06/0.7498, allocations: 0 / 1.556 GB, free: 8.832 MB / 1.248 GB Notification: Performance of Templates: time 0.0351/0.7849, allocations: 18.49 MB / 1.574 GB, free: 6.371 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/jenkins1/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: 14.94302412495017]