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.0008066/0.0008066, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008032/0.0008032, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8568/0.8568, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.744/1.744, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.764e-05, allocations: 6.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5692/0.5692, allocations: 138.4 MB / 1.136 GB, free: 13.87 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02345/0.5926, allocations: 19.72 MB / 1.155 GB, free: 292 kB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.5948, allocations: 70.16 kB / 1.155 GB, free: 256 kB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.5964, allocations: 1.177 MB / 1.157 GB, free: 32 kB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.5981, allocations: 0.9316 MB / 1.157 GB, free: 15.71 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.5992, allocations: 394.7 kB / 1.158 GB, free: 15.48 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.00166/0.6008, allocations: 1.308 MB / 1.159 GB, free: 14.91 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008515/0.6017, allocations: 0.5388 MB / 1.16 GB, free: 14.69 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.6028, allocations: 0.7185 MB / 1.16 GB, free: 14.44 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.6042, allocations: 0.9328 MB / 1.161 GB, free: 14.29 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.6044, allocations: 65.59 kB / 1.161 GB, free: 14.29 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.6047, allocations: 114.6 kB / 1.161 GB, free: 14.27 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.6049, allocations: 333.2 kB / 1.162 GB, free: 14.11 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.6052, allocations: 289.2 kB / 1.162 GB, free: 13.97 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.6067, allocations: 1.217 MB / 1.163 GB, free: 13.52 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6067, allocations: 4 kB / 1.163 GB, free: 13.51 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6067, allocations: 0 / 1.163 GB, free: 13.51 MB / 1.026 GB Notification: Performance of Transformations before backend: time 4.922e-05/0.6067, allocations: 2.125 kB / 1.163 GB, free: 13.51 MB / 1.026 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.002386/0.6091, allocations: 1.505 MB / 1.165 GB, free: 12.5 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.6091, allocations: 14.75 kB / 1.165 GB, free: 12.49 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.6094, allocations: 146.2 kB / 1.165 GB, free: 12.41 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.6106, allocations: 0.9297 MB / 1.166 GB, free: 11.9 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.6107, allocations: 99.42 kB / 1.166 GB, free: 11.82 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.6108, allocations: 47.56 kB / 1.166 GB, free: 11.8 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.6116, allocations: 0.5206 MB / 1.166 GB, free: 11.58 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.6116, allocations: 1.344 kB / 1.166 GB, free: 11.58 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.6117, allocations: 21.33 kB / 1.166 GB, free: 11.57 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.6117, allocations: 10.84 kB / 1.166 GB, free: 11.57 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.6123, allocations: 414.5 kB / 1.167 GB, free: 11.43 MB / 1.026 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.002675/0.615, allocations: 1.778 MB / 1.169 GB, free: 10.5 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/0.6157, allocations: 414.7 kB / 1.169 GB, free: 10.34 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.6162, allocations: 291.1 kB / 1.169 GB, free: 10.25 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.6162, allocations: 5.359 kB / 1.169 GB, free: 10.25 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.6167, allocations: 293.9 kB / 1.169 GB, free: 10.12 MB / 1.026 GB Notification: Performance of pre-optimization done (n=44): time 2.935e-06/0.6167, allocations: 0 / 1.169 GB, free: 10.12 MB / 1.026 GB Notification: Performance of matching and sorting (n=44): time 0.001895/0.6185, allocations: 1.001 MB / 1.17 GB, free: 9.762 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.6186, allocations: 65.58 kB / 1.171 GB, free: 9.691 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.6201, allocations: 1.35 MB / 1.172 GB, free: 9.246 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.6201, allocations: 41.62 kB / 1.172 GB, free: 9.203 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.6205, allocations: 0.557 MB / 1.172 GB, free: 8.762 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6206, allocations: 145.4 kB / 1.173 GB, free: 8.648 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.6207, allocations: 101 kB / 1.173 GB, free: 8.594 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.6208, allocations: 325.7 kB / 1.173 GB, free: 8.281 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.6212, allocations: 218.2 kB / 1.173 GB, free: 8.215 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.6215, allocations: 338.3 kB / 1.174 GB, free: 8.008 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.6222, allocations: 0.5215 MB / 1.174 GB, free: 7.707 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.6222, allocations: 1.219 kB / 1.174 GB, free: 7.707 MB / 1.026 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001198/0.6234, allocations: 0.8231 MB / 1.175 GB, free: 7.367 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6234, allocations: 6.703 kB / 1.175 GB, free: 7.367 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6234, allocations: 3.406 kB / 1.175 GB, free: 7.367 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.6238, allocations: 132.2 kB / 1.175 GB, free: 7.332 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.624, allocations: 108.4 kB / 1.175 GB, free: 7.316 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.6264, allocations: 2.449 MB / 1.177 GB, free: 5.414 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.6268, allocations: 73.48 kB / 1.178 GB, free: 5.383 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.6268, allocations: 21.33 kB / 1.178 GB, free: 5.379 MB / 1.026 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.0005742/0.6274, allocations: 386.5 kB / 1.178 GB, free: 5.184 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.6275, allocations: 129.1 kB / 1.178 GB, free: 5.113 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.6286, allocations: 0.7116 MB / 1.179 GB, free: 4.82 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6286, allocations: 4.406 kB / 1.179 GB, free: 4.82 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.6286, allocations: 6.969 kB / 1.179 GB, free: 4.816 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.6286, allocations: 2.297 kB / 1.179 GB, free: 4.816 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.6305, allocations: 1.39 MB / 1.18 GB, free: 4.16 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.6305, allocations: 5.109 kB / 1.18 GB, free: 4.156 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.6306, allocations: 44.11 kB / 1.18 GB, free: 4.156 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.6309, allocations: 165.4 kB / 1.18 GB, free: 4.098 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.631, allocations: 12.91 kB / 1.18 GB, free: 4.09 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.6337, allocations: 3.963 MB / 1.184 GB, free: 0.7383 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6337, allocations: 0 / 1.184 GB, free: 0.7383 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.635, allocations: 1.013 MB / 1.185 GB, free: 264 kB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.6352, allocations: 150.8 kB / 1.185 GB, free: 164 kB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.6352, allocations: 20.47 kB / 1.185 GB, free: 152 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.6354, allocations: 29.48 kB / 1.185 GB, free: 148 kB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6356, allocations: 60.75 kB / 1.185 GB, free: 132 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.6356, allocations: 16.03 kB / 1.185 GB, free: 128 kB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001018/0.6366, allocations: 0.958 MB / 1.186 GB, free: 15.8 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6366, allocations: 0 / 1.186 GB, free: 15.8 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0006945/0.6373, allocations: 203.9 kB / 1.187 GB, free: 15.76 MB / 1.042 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.000895/0.6382, allocations: 0.5126 MB / 1.187 GB, free: 15.55 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.6393, allocations: 0.6474 MB / 1.188 GB, free: 15.26 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6393, allocations: 0 / 1.188 GB, free: 15.26 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005411/0.6399, allocations: 0.5184 MB / 1.188 GB, free: 14.93 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.6406, allocations: 228.1 kB / 1.188 GB, free: 14.84 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.6435, allocations: 2.233 MB / 1.191 GB, free: 13.79 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.644, allocations: 0.5568 MB / 1.191 GB, free: 13.63 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.6442, allocations: 108 kB / 1.191 GB, free: 13.6 MB / 1.042 GB Notification: Performance of SimCode: time 1.132e-06/0.6442, allocations: 1.188 kB / 1.191 GB, free: 13.6 MB / 1.042 GB Notification: Performance of Templates: time 0.02223/0.6664, allocations: 20.48 MB / 1.211 GB, free: 3.844 MB / 1.042 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/jenkins/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: 8.846094927750528]