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.001506/0.001507, allocations: 115 kB / 17.08 MB, free: 5.984 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.001531/0.001531, allocations: 193.2 kB / 20.03 MB, free: 3.055 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.38/1.38, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 489.3 MB / 0.7687 GB, free: 3.957 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00198/0.00198, allocations: 67.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9225/0.9245, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2025/1.127, allocations: 156.8 MB / 1.416 GB, free: 4 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03024/1.157, allocations: 21.78 MB / 1.437 GB, free: 2.148 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003556/1.161, allocations: 54.59 kB / 1.437 GB, free: 2.129 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/1.163, allocations: 1.155 MB / 1.438 GB, free: 1.523 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/1.165, allocations: 0.8555 MB / 1.439 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/1.167, allocations: 445.6 kB / 1.439 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002011/1.169, allocations: 1.252 MB / 1.441 GB, free: 15.94 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/1.17, allocations: 0.6836 MB / 1.441 GB, free: 15.51 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/1.171, allocations: 0.5553 MB / 1.442 GB, free: 15.21 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/1.172, allocations: 0.9162 MB / 1.443 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/1.173, allocations: 64.44 kB / 1.443 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/1.173, allocations: 112.6 kB / 1.443 GB, free: 14.77 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/1.173, allocations: 312.5 kB / 1.443 GB, free: 14.57 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006481/1.174, allocations: 494.5 kB / 1.444 GB, free: 14.21 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/1.176, allocations: 1.208 MB / 1.445 GB, free: 13.38 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.176, allocations: 0 / 1.445 GB, free: 13.38 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.212e-06/1.176, allocations: 0 / 1.445 GB, free: 13.38 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.536e-05/1.176, allocations: 0 / 1.445 GB, free: 13.38 MB / 1.139 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.002352/1.178, allocations: 1.518 MB / 1.446 GB, free: 11.82 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.178, allocations: 8.031 kB / 1.446 GB, free: 11.82 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/1.178, allocations: 148 kB / 1.446 GB, free: 11.67 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008842/1.179, allocations: 0.6679 MB / 1.447 GB, free: 10.95 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/1.179, allocations: 74.69 kB / 1.447 GB, free: 10.88 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.214e-05/1.179, allocations: 59.88 kB / 1.447 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009599/1.18, allocations: 0.5184 MB / 1.448 GB, free: 10.28 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/1.18, allocations: 0 / 1.448 GB, free: 10.28 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/1.18, allocations: 16 kB / 1.448 GB, free: 10.27 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/1.18, allocations: 12 kB / 1.448 GB, free: 10.25 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/1.181, allocations: 415.7 kB / 1.448 GB, free: 9.852 MB / 1.139 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.003693/1.185, allocations: 2.788 MB / 1.451 GB, free: 6.812 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/1.186, allocations: 451.8 kB / 1.451 GB, free: 6.363 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/1.187, allocations: 285.3 kB / 1.452 GB, free: 6.082 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/1.187, allocations: 4.328 kB / 1.452 GB, free: 6.078 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006071/1.187, allocations: 314.4 kB / 1.452 GB, free: 5.762 MB / 1.139 GB Notification: Performance of pre-optimization done (n=45): time 2.515e-06/1.187, allocations: 3.938 kB / 1.452 GB, free: 5.758 MB / 1.139 GB Notification: Performance of matching and sorting (n=45): time 0.003022/1.19, allocations: 1.247 MB / 1.453 GB, free: 4.461 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.19, allocations: 55.41 kB / 1.453 GB, free: 4.395 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/1.192, allocations: 1.756 MB / 1.455 GB, free: 2.629 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/1.192, allocations: 37.7 kB / 1.455 GB, free: 2.586 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/1.193, allocations: 0.5221 MB / 1.455 GB, free: 2.059 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/1.193, allocations: 154.8 kB / 1.456 GB, free: 1.906 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/1.193, allocations: 94.25 kB / 1.456 GB, free: 1.809 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.193, allocations: 326 kB / 1.456 GB, free: 1.484 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/1.194, allocations: 217 kB / 1.456 GB, free: 1.27 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/1.195, allocations: 328.8 kB / 1.457 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009737/1.196, allocations: 0.5027 MB / 1.457 GB, free: 380 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.196, allocations: 4 kB / 1.457 GB, free: 376 kB / 1.139 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001733/1.197, allocations: 0.8581 MB / 1.458 GB, free: 15.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.197, allocations: 8 kB / 1.458 GB, free: 15.49 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/1.197, allocations: 0 / 1.458 GB, free: 15.49 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/1.198, allocations: 184.9 kB / 1.458 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/1.198, allocations: 99.81 kB / 1.458 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/1.202, allocations: 2.998 MB / 1.461 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/1.203, allocations: 79.64 kB / 1.461 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/1.203, allocations: 20 kB / 1.461 GB, free: 11.98 MB / 1.154 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,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 (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.0006376/1.203, allocations: 391.2 kB / 1.462 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/1.203, allocations: 123.2 kB / 1.462 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/1.204, allocations: 135.7 kB / 1.462 GB, free: 11.33 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.204, allocations: 4 kB / 1.462 GB, free: 11.32 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.204, allocations: 4 kB / 1.462 GB, free: 11.32 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.204, allocations: 7.984 kB / 1.462 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/1.206, allocations: 1.559 MB / 1.463 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.206, allocations: 0 / 1.463 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/1.206, allocations: 51.95 kB / 1.463 GB, free: 9.641 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/1.207, allocations: 197.5 kB / 1.464 GB, free: 9.441 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/1.207, allocations: 15.98 kB / 1.464 GB, free: 9.426 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004694/1.212, allocations: 4.555 MB / 1.468 GB, free: 4.598 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.212, allocations: 0 / 1.468 GB, free: 4.598 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/1.214, allocations: 1.063 MB / 1.469 GB, free: 3.512 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/1.214, allocations: 228.2 kB / 1.469 GB, free: 3.27 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.075e-05/1.214, allocations: 12 kB / 1.469 GB, free: 3.258 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/1.214, allocations: 31.97 kB / 1.469 GB, free: 3.227 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.215, allocations: 51.92 kB / 1.469 GB, free: 3.176 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/1.215, allocations: 19.98 kB / 1.469 GB, free: 3.156 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001531/1.216, allocations: 1.277 MB / 1.471 GB, free: 1.875 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/1.216, allocations: 0 / 1.471 GB, free: 1.875 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007787/1.217, allocations: 203.8 kB / 1.471 GB, free: 1.676 MB / 1.154 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,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.00171/1.219, allocations: 483.6 kB / 1.471 GB, free: 1.398 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001569/1.22, allocations: 0.7266 MB / 1.472 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.22, allocations: 0.625 kB / 1.472 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009003/1.221, allocations: 0.5553 MB / 1.473 GB, free: 76 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/1.222, allocations: 202.5 kB / 1.473 GB, free: 15.88 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/1.226, allocations: 2.464 MB / 1.475 GB, free: 13.38 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/1.227, allocations: 1.146 MB / 1.476 GB, free: 12.21 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/1.227, allocations: 47.42 kB / 1.476 GB, free: 12.16 MB / 1.17 GB Notification: Performance of SimCode: time 5.91e-07/1.227, allocations: 3.938 kB / 1.476 GB, free: 12.16 MB / 1.17 GB Notification: Performance of Templates: time 0.02603/1.253, allocations: 17.89 MB / 1.494 GB, free: 10.3 MB / 1.186 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.992767635034397]