Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.001623/0.001623, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001771/0.001771, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.623/1.623, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.78/2.78, allocations: 443.5 MB / 0.7293 GB, free: 14.42 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 67.89 kB / 1.057 GB, free: 1.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3865, allocations: 160.7 MB / 1.214 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 1.096/1.482, allocations: 157.3 MB / 1.368 GB, free: 2.742 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03527/1.518, allocations: 21.81 MB / 1.389 GB, free: 2.652 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003438/1.521, allocations: 54 kB / 1.389 GB, free: 2.633 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/1.523, allocations: 1.16 MB / 1.39 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002464/1.526, allocations: 0.8738 MB / 1.391 GB, free: 1.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/1.528, allocations: 439.5 kB / 1.391 GB, free: 1.137 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002713/1.53, allocations: 1.257 MB / 1.393 GB, free: 436 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/1.531, allocations: 0.5604 MB / 1.393 GB, free: 48 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/1.533, allocations: 0.5669 MB / 1.394 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/1.535, allocations: 0.9968 MB / 1.395 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/1.535, allocations: 69 kB / 1.395 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/1.535, allocations: 104.6 kB / 1.395 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/1.536, allocations: 323.8 kB / 1.395 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000606/1.536, allocations: 490.8 kB / 1.396 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/1.538, allocations: 1.207 MB / 1.397 GB, free: 13.85 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.538, allocations: 0 / 1.397 GB, free: 13.85 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.504e-06/1.538, allocations: 1.125 kB / 1.397 GB, free: 13.85 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.452e-05/1.538, allocations: 0 / 1.397 GB, free: 13.85 MB / 1.076 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.003284/1.541, allocations: 1.525 MB / 1.398 GB, free: 12.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.541, allocations: 8.25 kB / 1.398 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/1.542, allocations: 139.9 kB / 1.398 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.543, allocations: 0.6769 MB / 1.399 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.543, allocations: 73.14 kB / 1.399 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/1.543, allocations: 51.44 kB / 1.399 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/1.544, allocations: 0.5167 MB / 1.4 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/1.544, allocations: 1.375 kB / 1.4 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.946e-05/1.544, allocations: 20.12 kB / 1.4 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/1.544, allocations: 11 kB / 1.4 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/1.545, allocations: 410.9 kB / 1.4 GB, free: 11.4 MB / 1.076 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.004734/1.55, allocations: 2.8 MB / 1.403 GB, free: 8.965 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/1.551, allocations: 431.5 kB / 1.403 GB, free: 8.746 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/1.552, allocations: 261.5 kB / 1.404 GB, free: 8.617 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/1.552, allocations: 13.92 kB / 1.404 GB, free: 8.609 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006467/1.553, allocations: 303.2 kB / 1.404 GB, free: 8.418 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 3.246e-06/1.553, allocations: 0 / 1.404 GB, free: 8.418 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.003322/1.556, allocations: 1.234 MB / 1.405 GB, free: 7.668 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/1.556, allocations: 64.7 kB / 1.405 GB, free: 7.598 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/1.558, allocations: 1.752 MB / 1.407 GB, free: 6.805 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/1.558, allocations: 38.77 kB / 1.407 GB, free: 6.766 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005798/1.559, allocations: 0.5198 MB / 1.407 GB, free: 6.312 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/1.559, allocations: 150.1 kB / 1.408 GB, free: 6.184 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.559, allocations: 99.38 kB / 1.408 GB, free: 6.121 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.56, allocations: 327.3 kB / 1.408 GB, free: 5.801 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/1.56, allocations: 220 kB / 1.408 GB, free: 5.695 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/1.561, allocations: 324.2 kB / 1.408 GB, free: 5.469 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/1.562, allocations: 0.5127 MB / 1.409 GB, free: 5.141 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.562, allocations: 6.594 kB / 1.409 GB, free: 5.137 MB / 1.076 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00189/1.564, allocations: 0.8429 MB / 1.41 GB, free: 4.691 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.564, allocations: 10.91 kB / 1.41 GB, free: 4.688 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.564, allocations: 2.531 kB / 1.41 GB, free: 4.688 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/1.564, allocations: 187.1 kB / 1.41 GB, free: 4.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/1.565, allocations: 99.25 kB / 1.41 GB, free: 4.578 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/1.569, allocations: 2.999 MB / 1.413 GB, free: 2.121 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/1.569, allocations: 75.56 kB / 1.413 GB, free: 2.074 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/1.57, allocations: 21.38 kB / 1.413 GB, free: 2.07 MB / 1.076 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.000819/1.57, allocations: 387.7 kB / 1.413 GB, free: 1.828 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.571, allocations: 124 kB / 1.414 GB, free: 1.758 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/1.571, allocations: 140.7 kB / 1.414 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.571, allocations: 5.688 kB / 1.414 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.571, allocations: 2.094 kB / 1.414 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/1.571, allocations: 3.984 kB / 1.414 GB, free: 1.672 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/1.574, allocations: 1.56 MB / 1.415 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.574, allocations: 0 / 1.415 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/1.574, allocations: 42.72 kB / 1.415 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/1.574, allocations: 195.4 kB / 1.415 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/1.574, allocations: 14.8 kB / 1.416 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/1.58, allocations: 4.569 MB / 1.42 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.58, allocations: 0 / 1.42 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/1.582, allocations: 1.053 MB / 1.421 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/1.583, allocations: 224.5 kB / 1.421 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/1.583, allocations: 13.28 kB / 1.421 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/1.583, allocations: 28.59 kB / 1.421 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.583, allocations: 58.52 kB / 1.421 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/1.583, allocations: 21.02 kB / 1.421 GB, free: 11.54 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002126/1.586, allocations: 1.277 MB / 1.423 GB, free: 10.38 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.586, allocations: 0 / 1.423 GB, free: 10.38 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001043/1.587, allocations: 199.8 kB / 1.423 GB, free: 10.18 MB / 1.092 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.001922/1.588, allocations: 487.6 kB / 1.423 GB, free: 9.902 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001943/1.59, allocations: 0.6996 MB / 1.424 GB, free: 9.188 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.59, allocations: 0 / 1.424 GB, free: 9.188 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/1.592, allocations: 0.5282 MB / 1.424 GB, free: 8.633 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.593, allocations: 209.2 kB / 1.425 GB, free: 8.441 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005492/1.598, allocations: 2.459 MB / 1.427 GB, free: 5.941 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.6, allocations: 1.149 MB / 1.428 GB, free: 4.766 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/1.6, allocations: 43.44 kB / 1.428 GB, free: 4.723 MB / 1.092 GB Notification: Performance of SimCode: time 1.813e-06/1.6, allocations: 0 / 1.428 GB, free: 4.723 MB / 1.092 GB Notification: Performance of Templates: time 0.03261/1.633, allocations: 17.93 MB / 1.446 GB, free: 2.828 MB / 1.107 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.818185532931238]