Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.00143/0.00143, allocations: 115.8 kB / 17.13 MB, free: 5.926 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.001607/0.001607, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.613/1.613, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.016/3.016, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_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_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [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.002358/0.002358, allocations: 67.89 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199/1.201, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2422/1.444, allocations: 160.3 MB / 1.478 GB, free: 3.598 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03435/1.478, allocations: 21.88 MB / 1.5 GB, free: 1.719 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/1.481, allocations: 73.59 kB / 1.5 GB, free: 1.68 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/1.483, allocations: 1.165 MB / 1.501 GB, free: 1.066 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/1.486, allocations: 0.9171 MB / 1.502 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/1.487, allocations: 391.1 kB / 1.502 GB, free: 176 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002303/1.49, allocations: 1.268 MB / 1.504 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009549/1.491, allocations: 0.5738 MB / 1.504 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/1.492, allocations: 0.5685 MB / 1.505 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/1.493, allocations: 1.003 MB / 1.506 GB, free: 13.15 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/1.493, allocations: 68 kB / 1.506 GB, free: 13.08 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/1.493, allocations: 112 kB / 1.506 GB, free: 12.97 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/1.494, allocations: 332.6 kB / 1.506 GB, free: 12.65 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005082/1.494, allocations: 492.8 kB / 1.507 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/1.496, allocations: 1.22 MB / 1.508 GB, free: 10.94 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.496, allocations: 0 / 1.508 GB, free: 10.94 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.292e-06/1.496, allocations: 3.938 kB / 1.508 GB, free: 10.94 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.562e-05/1.496, allocations: 4 kB / 1.508 GB, free: 10.93 MB / 1.186 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.002692/1.499, allocations: 1.525 MB / 1.509 GB, free: 9.352 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.499, allocations: 11.98 kB / 1.509 GB, free: 9.34 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/1.499, allocations: 148 kB / 1.509 GB, free: 9.195 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/1.5, allocations: 0.6875 MB / 1.51 GB, free: 8.457 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.5, allocations: 74.69 kB / 1.51 GB, free: 8.379 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/1.5, allocations: 48 kB / 1.51 GB, free: 8.332 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.501, allocations: 0.5184 MB / 1.511 GB, free: 7.805 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.501, allocations: 7.984 kB / 1.511 GB, free: 7.797 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/1.501, allocations: 16 kB / 1.511 GB, free: 7.781 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.501, allocations: 8 kB / 1.511 GB, free: 7.773 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/1.502, allocations: 411.7 kB / 1.511 GB, free: 7.367 MB / 1.186 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.004134/1.506, allocations: 2.808 MB / 1.514 GB, free: 4.316 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.507, allocations: 425.5 kB / 1.514 GB, free: 3.895 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/1.508, allocations: 269.3 kB / 1.515 GB, free: 3.629 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/1.508, allocations: 4.328 kB / 1.515 GB, free: 3.625 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000617/1.509, allocations: 302.7 kB / 1.515 GB, free: 3.32 MB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/1.509, allocations: 0 / 1.515 GB, free: 3.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.003222/1.512, allocations: 1.249 MB / 1.516 GB, free: 2.02 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.512, allocations: 55.41 kB / 1.516 GB, free: 1.953 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/1.514, allocations: 1.769 MB / 1.518 GB, free: 180 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/1.514, allocations: 37.7 kB / 1.518 GB, free: 136 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/1.515, allocations: 0.5262 MB / 1.518 GB, free: 15.6 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/1.515, allocations: 150.7 kB / 1.519 GB, free: 15.45 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/1.515, allocations: 106.6 kB / 1.519 GB, free: 15.34 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.515, allocations: 326 kB / 1.519 GB, free: 15.02 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/1.516, allocations: 217 kB / 1.519 GB, free: 14.81 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/1.516, allocations: 324.9 kB / 1.519 GB, free: 14.45 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000969/1.517, allocations: 0.5104 MB / 1.52 GB, free: 13.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.517, allocations: 3.938 kB / 1.52 GB, free: 13.9 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001838/1.519, allocations: 0.8524 MB / 1.521 GB, free: 13.04 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.519, allocations: 14.02 kB / 1.521 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.519, allocations: 0 / 1.521 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/1.52, allocations: 184.8 kB / 1.521 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/1.52, allocations: 91.88 kB / 1.521 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/1.524, allocations: 3.004 MB / 1.524 GB, free: 9.617 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/1.525, allocations: 75.58 kB / 1.524 GB, free: 9.543 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/1.525, allocations: 20 kB / 1.524 GB, free: 9.523 MB / 1.201 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.0006543/1.525, allocations: 391.3 kB / 1.525 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/1.526, allocations: 127.1 kB / 1.525 GB, free: 9.008 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/1.526, allocations: 143.9 kB / 1.525 GB, free: 8.863 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.526, allocations: 8 kB / 1.525 GB, free: 8.855 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/1.526, allocations: 4 kB / 1.525 GB, free: 8.852 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.526, allocations: 0 / 1.525 GB, free: 8.852 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/1.529, allocations: 1.568 MB / 1.526 GB, free: 7.227 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.529, allocations: 4 kB / 1.526 GB, free: 7.223 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/1.529, allocations: 39.97 kB / 1.526 GB, free: 7.184 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005231/1.529, allocations: 193.5 kB / 1.527 GB, free: 6.988 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/1.53, allocations: 15.98 kB / 1.527 GB, free: 6.973 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005279/1.535, allocations: 4.551 MB / 1.531 GB, free: 2.148 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.535, allocations: 0 / 1.531 GB, free: 2.148 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/1.537, allocations: 1.071 MB / 1.532 GB, free: 1.055 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/1.537, allocations: 220.2 kB / 1.532 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/1.537, allocations: 12 kB / 1.532 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/1.538, allocations: 23.97 kB / 1.532 GB, free: 0.7852 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.538, allocations: 55.92 kB / 1.532 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/1.538, allocations: 19.98 kB / 1.532 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001812/1.54, allocations: 1.297 MB / 1.534 GB, free: 15.41 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.54, allocations: 0 / 1.534 GB, free: 15.41 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009246/1.541, allocations: 211.7 kB / 1.534 GB, free: 15.2 MB / 1.217 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.001938/1.543, allocations: 480.3 kB / 1.534 GB, free: 14.91 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.544, allocations: 0.6954 MB / 1.535 GB, free: 14.21 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.544, allocations: 0 / 1.535 GB, free: 14.21 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/1.546, allocations: 0.5445 MB / 1.535 GB, free: 13.64 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/1.547, allocations: 201.7 kB / 1.536 GB, free: 13.45 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/1.552, allocations: 2.472 MB / 1.538 GB, free: 10.94 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/1.553, allocations: 1.153 MB / 1.539 GB, free: 9.758 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/1.553, allocations: 51.42 kB / 1.539 GB, free: 9.707 MB / 1.217 GB Notification: Performance of SimCode: time 1.603e-06/1.553, allocations: 0 / 1.539 GB, free: 9.707 MB / 1.217 GB Notification: Performance of Templates: time 0.0329/1.586, allocations: 18.11 MB / 1.557 GB, free: 7.617 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.543099451999296]