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.001992/0.001992, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002234/0.002234, allocations: 211.4 kB / 22.99 MB, free: 4.957 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.11/3.11, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] 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.002051/0.002051, allocations: 71.05 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2797, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1729/0.4526, allocations: 138.5 MB / 1.462 GB, free: 5.887 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.4768, allocations: 19.71 MB / 1.482 GB, free: 2.121 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.4779, allocations: 71.44 kB / 1.482 GB, free: 2.051 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.4796, allocations: 1.173 MB / 1.483 GB, free: 0.875 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.481, allocations: 0.9107 MB / 1.484 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.4818, allocations: 390.9 kB / 1.484 GB, free: 15.58 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.4831, allocations: 1.278 MB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006856/0.4838, allocations: 0.5508 MB / 1.486 GB, free: 13.74 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000656/0.4844, allocations: 0.5685 MB / 1.486 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.4856, allocations: 1.007 MB / 1.487 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4857, allocations: 68 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.486, allocations: 120 kB / 1.488 GB, free: 11.97 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.4863, allocations: 320.7 kB / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.4867, allocations: 381.5 kB / 1.488 GB, free: 11.29 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.488, allocations: 1.229 MB / 1.489 GB, free: 10.05 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.488, allocations: 0 / 1.489 GB, free: 10.05 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.183e-06/0.488, allocations: 4 kB / 1.489 GB, free: 10.05 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.488, allocations: 0 / 1.489 GB, free: 10.05 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.002458/0.4904, allocations: 1.509 MB / 1.491 GB, free: 8.5 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.4905, allocations: 12.03 kB / 1.491 GB, free: 8.488 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.4907, allocations: 144 kB / 1.491 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000965/0.4916, allocations: 0.6064 MB / 1.492 GB, free: 7.699 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.4918, allocations: 100.4 kB / 1.492 GB, free: 7.59 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/0.4919, allocations: 48 kB / 1.492 GB, free: 7.543 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4929, allocations: 0.5145 MB / 1.492 GB, free: 7.016 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.4929, allocations: 4 kB / 1.492 GB, free: 7.012 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.493, allocations: 23.98 kB / 1.492 GB, free: 6.988 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.493, allocations: 12 kB / 1.492 GB, free: 6.977 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000891/0.4939, allocations: 415.7 kB / 1.493 GB, free: 6.57 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.00333/0.4972, allocations: 1.837 MB / 1.495 GB, free: 4.691 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.4983, allocations: 435.8 kB / 1.495 GB, free: 4.254 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.4989, allocations: 267.1 kB / 1.495 GB, free: 3.992 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.4989, allocations: 16.3 kB / 1.495 GB, free: 3.977 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.4995, allocations: 302.5 kB / 1.496 GB, free: 3.672 MB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.4995, allocations: 0 / 1.496 GB, free: 3.672 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.003086/0.5026, allocations: 1.108 MB / 1.497 GB, free: 2.551 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.5027, allocations: 59.39 kB / 1.497 GB, free: 2.48 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.5046, allocations: 1.759 MB / 1.498 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.5047, allocations: 42.14 kB / 1.498 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.5052, allocations: 0.5181 MB / 1.499 GB, free: 144 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.5053, allocations: 150.8 kB / 1.499 GB, free: 15.99 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.5055, allocations: 98.33 kB / 1.499 GB, free: 15.89 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5056, allocations: 329.9 kB / 1.499 GB, free: 15.56 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.5061, allocations: 221.2 kB / 1.5 GB, free: 15.34 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.5067, allocations: 337.8 kB / 1.5 GB, free: 14.97 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009771/0.5077, allocations: 0.5097 MB / 1.501 GB, free: 14.42 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5077, allocations: 0 / 1.501 GB, free: 14.42 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001763/0.5095, allocations: 0.8544 MB / 1.501 GB, free: 13.56 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5095, allocations: 4 kB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5095, allocations: 4 kB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.51, allocations: 178.6 kB / 1.502 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.5104, allocations: 103.8 kB / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.5142, allocations: 2.838 MB / 1.504 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.5146, allocations: 63.7 kB / 1.504 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.5146, allocations: 20.06 kB / 1.504 GB, free: 10.26 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,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.0004684/0.5151, allocations: 387.8 kB / 1.505 GB, free: 9.871 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.5152, allocations: 127.1 kB / 1.505 GB, free: 9.746 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.5169, allocations: 0.7746 MB / 1.506 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5169, allocations: 4 kB / 1.506 GB, free: 8.949 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5169, allocations: 4 kB / 1.506 GB, free: 8.945 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5169, allocations: 0 / 1.506 GB, free: 8.945 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.5195, allocations: 1.439 MB / 1.507 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5195, allocations: 0 / 1.507 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.5197, allocations: 51.91 kB / 1.507 GB, free: 7.414 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005105/0.5202, allocations: 193.6 kB / 1.507 GB, free: 7.219 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.5203, allocations: 19.98 kB / 1.507 GB, free: 7.199 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004776/0.5251, allocations: 4.261 MB / 1.512 GB, free: 2.738 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5251, allocations: 4.062 kB / 1.512 GB, free: 2.734 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.5271, allocations: 1.084 MB / 1.513 GB, free: 1.633 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.5274, allocations: 155.3 kB / 1.513 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.5275, allocations: 11.94 kB / 1.513 GB, free: 1.469 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.5278, allocations: 31.97 kB / 1.513 GB, free: 1.438 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.5279, allocations: 56.31 kB / 1.513 GB, free: 1.383 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.528, allocations: 16 kB / 1.513 GB, free: 1.367 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001457/0.5294, allocations: 1.28 MB / 1.514 GB, free: 84 kB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5294, allocations: 3.938 kB / 1.514 GB, free: 80 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007298/0.5302, allocations: 219.7 kB / 1.514 GB, free: 15.86 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 (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,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.001926/0.5321, allocations: 0.4935 MB / 1.515 GB, free: 15.58 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.5336, allocations: 0.7021 MB / 1.515 GB, free: 14.86 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5336, allocations: 0 / 1.515 GB, free: 14.86 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009898/0.5346, allocations: 0.5506 MB / 1.516 GB, free: 14.28 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.5356, allocations: 205.8 kB / 1.516 GB, free: 14.1 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.5393, allocations: 2.434 MB / 1.519 GB, free: 11.63 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.54, allocations: 0.5622 MB / 1.519 GB, free: 11.04 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002348/0.5402, allocations: 84.62 kB / 1.519 GB, free: 10.95 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.5403, allocations: 51.36 kB / 1.519 GB, free: 10.9 MB / 1.217 GB Notification: Performance of SimCode: time 4.41e-07/0.5403, allocations: 0 / 1.519 GB, free: 10.9 MB / 1.217 GB Notification: Performance of Templates: time 0.02203/0.5624, allocations: 12.24 MB / 1.531 GB, free: 14.85 MB / 1.232 GB " [Timeout remaining time 299] 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 -s gbode -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: 10.904589161000331]