Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.74/2.74, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 59.91 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6343, allocations: 151.6 MB / 1.017 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.184/0.8184, allocations: 156.7 MB / 1.17 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02786/0.8463, allocations: 21.75 MB / 1.192 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.8484, allocations: 55.69 kB / 1.192 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.8502, allocations: 1.161 MB / 1.193 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.8518, allocations: 0.8523 MB / 1.194 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.853, allocations: 444.5 kB / 1.194 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.8544, allocations: 1.251 MB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008949/0.8553, allocations: 0.689 MB / 1.196 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006959/0.856, allocations: 0.5491 MB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.8572, allocations: 0.9138 MB / 1.197 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.8573, allocations: 64 kB / 1.197 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.8576, allocations: 112 kB / 1.198 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.8579, allocations: 324.7 kB / 1.198 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004487/0.8583, allocations: 492.8 kB / 1.198 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.8595, allocations: 1.176 MB / 1.199 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8596, allocations: 4 kB / 1.199 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8596, allocations: 0 / 1.199 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.8596, allocations: 0 / 1.199 GB, free: 7.391 MB / 0.9512 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.002527/0.8621, allocations: 1.475 MB / 1.201 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.8622, allocations: 12.03 kB / 1.201 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.8624, allocations: 131.3 kB / 1.201 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.8633, allocations: 0.6588 MB / 1.202 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.8634, allocations: 78.69 kB / 1.202 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/0.8635, allocations: 48 kB / 1.202 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/0.8645, allocations: 0.5184 MB / 1.202 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.8646, allocations: 0 / 1.202 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.8646, allocations: 19.98 kB / 1.202 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.8646, allocations: 16 kB / 1.202 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/0.8655, allocations: 411.7 kB / 1.203 GB, free: 3.914 MB / 0.9512 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.003956/0.8695, allocations: 2.731 MB / 1.205 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.8705, allocations: 452.8 kB / 1.206 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.8712, allocations: 307.2 kB / 1.206 GB, free: 200 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.8712, allocations: 4.656 kB / 1.206 GB, free: 196 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000579/0.8718, allocations: 299.3 kB / 1.206 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/0.8718, allocations: 0 / 1.206 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.002714/0.8745, allocations: 1.145 MB / 1.208 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.8746, allocations: 59.39 kB / 1.208 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.8766, allocations: 1.756 MB / 1.209 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.8767, allocations: 37.7 kB / 1.209 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.8772, allocations: 0.5287 MB / 1.21 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.8773, allocations: 149.9 kB / 1.21 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.8775, allocations: 98.25 kB / 1.21 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.8776, allocations: 330 kB / 1.21 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.8782, allocations: 209 kB / 1.211 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.8788, allocations: 343.1 kB / 1.211 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.8798, allocations: 0.5069 MB / 1.211 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.8798, allocations: 7.875 kB / 1.211 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001631/0.8814, allocations: 0.8188 MB / 1.212 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.8815, allocations: 8 kB / 1.212 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.8815, allocations: 0 / 1.212 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.8819, allocations: 140.8 kB / 1.212 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.8823, allocations: 99.81 kB / 1.212 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.8854, allocations: 2.605 MB / 1.215 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.8859, allocations: 71.48 kB / 1.215 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.8859, allocations: 28.05 kB / 1.215 GB, free: 6.637 MB / 0.9669 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,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 (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.000506/0.8865, allocations: 387.3 kB / 1.216 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.8866, allocations: 122.4 kB / 1.216 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.8868, allocations: 139.7 kB / 1.216 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.8869, allocations: 8 kB / 1.216 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.8869, allocations: 0 / 1.216 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.8869, allocations: 3.984 kB / 1.216 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.8893, allocations: 1.499 MB / 1.217 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8893, allocations: 0 / 1.217 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.8896, allocations: 43.97 kB / 1.217 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.89, allocations: 169.5 kB / 1.217 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.8901, allocations: 11.98 kB / 1.217 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/0.8943, allocations: 4.021 MB / 1.221 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8943, allocations: 4.062 kB / 1.221 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.8962, allocations: 0.9871 MB / 1.222 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.8964, allocations: 207.6 kB / 1.223 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.141e-05/0.8965, allocations: 12 kB / 1.223 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.8969, allocations: 31.95 kB / 1.223 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.897, allocations: 55.88 kB / 1.223 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.8971, allocations: 19.92 kB / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001512/0.8986, allocations: 1.289 MB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8986, allocations: 0 / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007251/0.8993, allocations: 199.6 kB / 1.224 GB, free: 13.05 MB / 0.9825 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,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.001735/0.9011, allocations: 482.9 kB / 1.225 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.9027, allocations: 0.7013 MB / 1.225 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9027, allocations: 0 / 1.225 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000879/0.9036, allocations: 0.5173 MB / 1.226 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.9046, allocations: 195.9 kB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.9088, allocations: 2.394 MB / 1.228 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/0.9098, allocations: 1.149 MB / 1.229 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003465/0.9101, allocations: 100.8 kB / 1.229 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.9102, allocations: 47.42 kB / 1.23 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of SimCode: time 3.828e-06/0.9102, allocations: 0 / 1.23 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of Templates: time 0.02203/0.9323, allocations: 10.02 MB / 1.239 GB, free: 13.68 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches