Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.001657/0.001657, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001931/0.001931, allocations: 219.4 kB / 23 MB, free: 4.914 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.347/3.347, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") [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.00212/0.00212, allocations: 71.73 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4466, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.2091/0.6557, allocations: 138.5 MB / 1.5 GB, free: 2.531 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03269/0.6884, allocations: 19.71 MB / 1.519 GB, free: 14.77 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.6914, allocations: 71.44 kB / 1.519 GB, free: 14.7 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.6936, allocations: 1.169 MB / 1.52 GB, free: 13.52 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.6962, allocations: 0.9146 MB / 1.521 GB, free: 12.61 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.6977, allocations: 382.9 kB / 1.522 GB, free: 12.23 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.7001, allocations: 1.278 MB / 1.523 GB, free: 10.95 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.7014, allocations: 0.5507 MB / 1.523 GB, free: 10.39 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.7028, allocations: 0.5646 MB / 1.524 GB, free: 9.824 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.7043, allocations: 0.9761 MB / 1.525 GB, free: 8.844 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.7044, allocations: 68 kB / 1.525 GB, free: 8.777 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.7047, allocations: 112 kB / 1.525 GB, free: 8.668 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.7051, allocations: 332.6 kB / 1.525 GB, free: 8.344 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.7055, allocations: 377.5 kB / 1.526 GB, free: 7.973 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.707, allocations: 1.229 MB / 1.527 GB, free: 6.738 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.707, allocations: 8 kB / 1.527 GB, free: 6.73 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.645e-06/0.707, allocations: 0 / 1.527 GB, free: 6.73 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.707, allocations: 0 / 1.527 GB, free: 6.73 MB / 1.217 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.002638/0.7097, allocations: 1.505 MB / 1.528 GB, free: 5.188 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.7097, allocations: 12.03 kB / 1.528 GB, free: 5.176 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.7099, allocations: 148 kB / 1.529 GB, free: 5.031 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.711, allocations: 0.5987 MB / 1.529 GB, free: 4.391 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.7112, allocations: 108.4 kB / 1.529 GB, free: 4.273 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.7113, allocations: 47.98 kB / 1.529 GB, free: 4.227 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.7123, allocations: 0.5262 MB / 1.53 GB, free: 3.691 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.7123, allocations: 0 / 1.53 GB, free: 3.691 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.7123, allocations: 20 kB / 1.53 GB, free: 3.672 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.7123, allocations: 8 kB / 1.53 GB, free: 3.664 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.7132, allocations: 423.7 kB / 1.53 GB, free: 3.246 MB / 1.217 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.003402/0.7166, allocations: 1.765 MB / 1.532 GB, free: 1.449 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/0.7176, allocations: 422.4 kB / 1.532 GB, free: 1.027 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/0.7183, allocations: 286.4 kB / 1.533 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.7183, allocations: 12.64 kB / 1.533 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.7189, allocations: 284.4 kB / 1.533 GB, free: 456 kB / 1.217 GB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.7189, allocations: 0 / 1.533 GB, free: 456 kB / 1.217 GB Notification: Performance of matching and sorting (n=44): time 0.002672/0.7216, allocations: 1.002 MB / 1.534 GB, free: 15.43 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.7216, allocations: 59.34 kB / 1.534 GB, free: 15.36 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.7237, allocations: 1.775 MB / 1.536 GB, free: 13.57 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.7238, allocations: 37.7 kB / 1.536 GB, free: 13.53 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005157/0.7243, allocations: 0.5298 MB / 1.536 GB, free: 13 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.7244, allocations: 150.7 kB / 1.536 GB, free: 12.85 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.7246, allocations: 102.3 kB / 1.536 GB, free: 12.74 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.7247, allocations: 322 kB / 1.537 GB, free: 12.42 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.7252, allocations: 221.2 kB / 1.537 GB, free: 12.2 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.7258, allocations: 340.1 kB / 1.537 GB, free: 11.82 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009547/0.7268, allocations: 0.5263 MB / 1.538 GB, free: 11.25 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7268, allocations: 4 kB / 1.538 GB, free: 11.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00162/0.7284, allocations: 0.8102 MB / 1.539 GB, free: 10.43 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.7284, allocations: 12.03 kB / 1.539 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.7285, allocations: 7.938 kB / 1.539 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.7289, allocations: 132.8 kB / 1.539 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.7293, allocations: 99.81 kB / 1.539 GB, free: 10.18 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.7324, allocations: 2.454 MB / 1.541 GB, free: 7.625 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.7329, allocations: 75.75 kB / 1.541 GB, free: 7.551 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.7329, allocations: 20 kB / 1.541 GB, free: 7.531 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005898/0.7335, allocations: 387.3 kB / 1.542 GB, free: 7.145 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.7337, allocations: 123.2 kB / 1.542 GB, free: 7.023 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.7351, allocations: 0.7163 MB / 1.543 GB, free: 6.293 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.7351, allocations: 4 kB / 1.543 GB, free: 6.289 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.7351, allocations: 7.938 kB / 1.543 GB, free: 6.281 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.7351, allocations: 3.984 kB / 1.543 GB, free: 6.277 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.7376, allocations: 1.374 MB / 1.544 GB, free: 4.863 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7376, allocations: 0 / 1.544 GB, free: 4.863 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.7378, allocations: 47.95 kB / 1.544 GB, free: 4.816 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003955/0.7382, allocations: 161.5 kB / 1.544 GB, free: 4.652 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.7382, allocations: 15.94 kB / 1.544 GB, free: 4.637 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004204/0.7425, allocations: 3.968 MB / 1.548 GB, free: 476 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7425, allocations: 0 / 1.548 GB, free: 476 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.7443, allocations: 1.005 MB / 1.549 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.7446, allocations: 151 kB / 1.549 GB, free: 15.28 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.991e-05/0.7446, allocations: 19.92 kB / 1.549 GB, free: 15.26 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.7449, allocations: 27.97 kB / 1.549 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.7451, allocations: 59.89 kB / 1.549 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.7451, allocations: 8 kB / 1.549 GB, free: 15.17 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001568/0.7467, allocations: 1.296 MB / 1.551 GB, free: 13.87 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7467, allocations: 0 / 1.551 GB, free: 13.87 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008388/0.7475, allocations: 207.7 kB / 1.551 GB, free: 13.66 MB / 1.248 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,12,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.002004/0.7496, allocations: 0.4925 MB / 1.551 GB, free: 13.38 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.7511, allocations: 0.6528 MB / 1.552 GB, free: 12.72 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7511, allocations: 0 / 1.552 GB, free: 12.72 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0008459/0.7519, allocations: 0.5247 MB / 1.552 GB, free: 12.17 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009439/0.7528, allocations: 205.8 kB / 1.553 GB, free: 11.97 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.7568, allocations: 2.455 MB / 1.555 GB, free: 9.48 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.7575, allocations: 0.5583 MB / 1.555 GB, free: 8.887 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.7576, allocations: 43.44 kB / 1.556 GB, free: 8.844 MB / 1.248 GB Notification: Performance of SimCode: time 1.864e-06/0.7576, allocations: 0 / 1.556 GB, free: 8.844 MB / 1.248 GB Notification: Performance of Templates: time 0.03036/0.788, allocations: 18.49 MB / 1.574 GB, free: 6.379 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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: 14.955191281624138]