Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 190.5 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.808/2.808, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.58 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2894, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1748/0.4643, allocations: 157.6 MB / 1.47 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02559/0.4899, allocations: 21.88 MB / 1.491 GB, free: 5.617 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.4917, allocations: 75.38 kB / 1.491 GB, free: 5.543 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.4934, allocations: 1.165 MB / 1.492 GB, free: 4.375 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.4948, allocations: 0.8718 MB / 1.493 GB, free: 3.5 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.496, allocations: 476.7 kB / 1.494 GB, free: 3.035 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.4974, allocations: 1.263 MB / 1.495 GB, free: 1.77 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006819/0.4981, allocations: 0.5429 MB / 1.496 GB, free: 1.223 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006706/0.4988, allocations: 0.5685 MB / 1.496 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.4999, allocations: 1.003 MB / 1.497 GB, free: 15.64 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.5, allocations: 64 kB / 1.497 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.5003, allocations: 108 kB / 1.497 GB, free: 15.48 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.5006, allocations: 324.6 kB / 1.498 GB, free: 15.16 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.501, allocations: 484.9 kB / 1.498 GB, free: 14.68 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.5023, allocations: 1.202 MB / 1.499 GB, free: 13.48 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5023, allocations: 4 kB / 1.499 GB, free: 13.47 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5023, allocations: 3.938 kB / 1.499 GB, free: 13.47 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.5023, allocations: 0 / 1.499 GB, free: 13.47 MB / 1.201 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.00228/0.5046, allocations: 1.489 MB / 1.501 GB, free: 11.94 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5046, allocations: 8.031 kB / 1.501 GB, free: 11.93 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.5048, allocations: 140 kB / 1.501 GB, free: 11.8 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.5057, allocations: 0.6061 MB / 1.501 GB, free: 11.15 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.5058, allocations: 74.69 kB / 1.501 GB, free: 11.07 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.5059, allocations: 47.95 kB / 1.501 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009263/0.5068, allocations: 0.5224 MB / 1.502 GB, free: 10.49 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.5068, allocations: 7.875 kB / 1.502 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.5069, allocations: 16 kB / 1.502 GB, free: 10.47 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.5069, allocations: 19.97 kB / 1.502 GB, free: 10.45 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/0.5077, allocations: 407.7 kB / 1.502 GB, free: 10.05 MB / 1.201 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.003554/0.5113, allocations: 2.752 MB / 1.505 GB, free: 7.059 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/0.5122, allocations: 431.2 kB / 1.506 GB, free: 6.629 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/0.5128, allocations: 271.9 kB / 1.506 GB, free: 6.363 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.5128, allocations: 8.312 kB / 1.506 GB, free: 6.355 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/0.5134, allocations: 306.4 kB / 1.506 GB, free: 6.047 MB / 1.201 GB Notification: Performance of pre-optimization done (n=45): time 1.724e-06/0.5134, allocations: 0 / 1.506 GB, free: 6.047 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.002742/0.5161, allocations: 1.1 MB / 1.507 GB, free: 4.934 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.5162, allocations: 59.41 kB / 1.507 GB, free: 4.863 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.518, allocations: 1.748 MB / 1.509 GB, free: 3.105 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.5181, allocations: 45.62 kB / 1.509 GB, free: 3.055 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.5185, allocations: 0.5261 MB / 1.509 GB, free: 2.523 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.5187, allocations: 154.7 kB / 1.51 GB, free: 2.371 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.5188, allocations: 94.34 kB / 1.51 GB, free: 2.273 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.519, allocations: 326 kB / 1.51 GB, free: 1.949 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.5194, allocations: 217.2 kB / 1.51 GB, free: 1.734 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.52, allocations: 329.8 kB / 1.511 GB, free: 1.375 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009032/0.5209, allocations: 0.5147 MB / 1.511 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5209, allocations: 0 / 1.511 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00157/0.5224, allocations: 0.8403 MB / 1.512 GB, free: 15.97 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5224, allocations: 11.94 kB / 1.512 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5224, allocations: 4.438 kB / 1.512 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.5229, allocations: 186.5 kB / 1.512 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.5233, allocations: 95.88 kB / 1.512 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.5268, allocations: 2.893 MB / 1.515 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.5272, allocations: 79.64 kB / 1.515 GB, free: 12.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.5273, allocations: 24 kB / 1.515 GB, free: 12.57 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004719/0.5277, allocations: 387.3 kB / 1.515 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.5279, allocations: 127.1 kB / 1.516 GB, free: 12.06 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.5293, allocations: 0.7604 MB / 1.516 GB, free: 11.28 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.5293, allocations: 4 kB / 1.516 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.5293, allocations: 0 / 1.516 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5293, allocations: 7.984 kB / 1.516 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.5318, allocations: 1.542 MB / 1.518 GB, free: 9.672 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5318, allocations: 0 / 1.518 GB, free: 9.672 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.532, allocations: 47.91 kB / 1.518 GB, free: 9.625 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.5324, allocations: 192.4 kB / 1.518 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.5325, allocations: 19.98 kB / 1.518 GB, free: 9.414 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004171/0.5367, allocations: 4.123 MB / 1.522 GB, free: 5.062 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5367, allocations: 4.031 kB / 1.522 GB, free: 5.059 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.5385, allocations: 1.067 MB / 1.523 GB, free: 3.969 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.5387, allocations: 155.1 kB / 1.523 GB, free: 3.816 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/0.5388, allocations: 8 kB / 1.523 GB, free: 3.809 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.5391, allocations: 27.97 kB / 1.523 GB, free: 3.781 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.5392, allocations: 55.89 kB / 1.523 GB, free: 3.727 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.5393, allocations: 20 kB / 1.523 GB, free: 3.707 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001415/0.5407, allocations: 1.281 MB / 1.525 GB, free: 2.422 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5407, allocations: 0 / 1.525 GB, free: 2.422 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006763/0.5414, allocations: 203.7 kB / 1.525 GB, free: 2.223 MB / 1.217 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 (29): * Single equations (assignments): 21 * 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,13,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.001639/0.543, allocations: 482 kB / 1.525 GB, free: 1.926 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.5444, allocations: 0.6993 MB / 1.526 GB, free: 1.215 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5444, allocations: 0 / 1.526 GB, free: 1.215 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007909/0.5452, allocations: 0.533 MB / 1.527 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.546, allocations: 208.8 kB / 1.527 GB, free: 476 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.5495, allocations: 2.411 MB / 1.529 GB, free: 14.02 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008034/0.5503, allocations: 1.157 MB / 1.53 GB, free: 12.83 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002369/0.5505, allocations: 84.78 kB / 1.53 GB, free: 12.75 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.5506, allocations: 47.42 kB / 1.53 GB, free: 12.7 MB / 1.232 GB Notification: Performance of SimCode: time 4.01e-07/0.5506, allocations: 0 / 1.53 GB, free: 12.7 MB / 1.232 GB Notification: Performance of Templates: time 0.01997/0.5706, allocations: 10.99 MB / 1.541 GB, free: 1.84 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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: 9.01687637064606]