Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestCase8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 108.8 kB / 16.41 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 189.8 kB / 17.34 MB, free: 5.68 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 67.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8): time 0.2273/1.357, allocations: 157.8 MB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.05331/1.41, allocations: 22.21 MB / 1.264 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00683/1.417, allocations: 59.62 kB / 1.265 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007444/1.425, allocations: 2.744 MB / 1.267 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006816/1.432, allocations: 1.764 MB / 1.269 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004457/1.436, allocations: 0.7037 MB / 1.27 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0064/1.443, allocations: 2.273 MB / 1.272 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003569/1.446, allocations: 1.343 MB / 1.273 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/1.45, allocations: 1.126 MB / 1.274 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004602/1.454, allocations: 1.99 MB / 1.276 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005313/1.455, allocations: 116 kB / 1.276 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008102/1.456, allocations: 160 kB / 1.276 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009959/1.457, allocations: 0.7106 MB / 1.277 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001547/1.458, allocations: 1.016 MB / 1.278 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004358/1.463, allocations: 2.403 MB / 1.28 GB, free: 9.188 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/1.463, allocations: 0 / 1.28 GB, free: 9.188 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.986e-06/1.463, allocations: 0 / 1.28 GB, free: 9.188 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.502e-05/1.463, allocations: 0 / 1.28 GB, free: 9.188 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.008515/1.472, allocations: 2.948 MB / 1.283 GB, free: 6.168 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/1.472, allocations: 12.02 kB / 1.283 GB, free: 6.156 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007698/1.472, allocations: 309 kB / 1.284 GB, free: 5.852 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/1.476, allocations: 1.29 MB / 1.285 GB, free: 4.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/1.476, allocations: 95.69 kB / 1.285 GB, free: 4.402 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/1.476, allocations: 91.91 kB / 1.285 GB, free: 4.312 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/1.479, allocations: 0.9616 MB / 1.286 GB, free: 3.336 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/1.479, allocations: 4 kB / 1.286 GB, free: 3.332 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/1.479, allocations: 32 kB / 1.286 GB, free: 3.301 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/1.479, allocations: 20 kB / 1.286 GB, free: 3.281 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/1.482, allocations: 0.8158 MB / 1.287 GB, free: 2.465 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/1.494, allocations: 4.378 MB / 1.291 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/1.497, allocations: 0.9424 MB / 1.292 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/1.499, allocations: 0.5225 MB / 1.293 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.984e-05/1.499, allocations: 9 kB / 1.293 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/1.501, allocations: 0.5565 MB / 1.293 GB, free: 11.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=91): time 6.001e-06/1.501, allocations: 0 / 1.293 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=91): time 0.009095/1.51, allocations: 2.16 MB / 1.295 GB, free: 9.535 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/1.51, allocations: 60.41 kB / 1.295 GB, free: 9.465 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009787/1.52, allocations: 4.439 MB / 1.3 GB, free: 5.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003423/1.52, allocations: 45.7 kB / 1.3 GB, free: 4.969 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.522, allocations: 1.222 MB / 1.301 GB, free: 3.738 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006697/1.523, allocations: 292 kB / 1.301 GB, free: 3.449 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/1.523, allocations: 158.7 kB / 1.301 GB, free: 3.289 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002685/1.524, allocations: 349.9 kB / 1.302 GB, free: 2.941 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/1.525, allocations: 389.8 kB / 1.302 GB, free: 2.559 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/1.527, allocations: 0.5517 MB / 1.303 GB, free: 1.953 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/1.53, allocations: 0.9256 MB / 1.303 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-05/1.53, allocations: 0 / 1.303 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005305/1.535, allocations: 1.497 MB / 1.305 GB, free: 15.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/1.535, allocations: 8 kB / 1.305 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/1.535, allocations: 0 / 1.305 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/1.537, allocations: 261.6 kB / 1.305 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/1.538, allocations: 171.8 kB / 1.305 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008758/1.547, allocations: 4.763 MB / 1.31 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.549, allocations: 135 kB / 1.31 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/1.549, allocations: 32 kB / 1.31 GB, free: 9.84 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,tableSolRadWall.nextTimeEventScaled,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEvent,greaterThreshold2.y,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002506/1.551, allocations: 0.7714 MB / 1.311 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009082/1.552, allocations: 268.5 kB / 1.311 GB, free: 8.797 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/1.553, allocations: 356.5 kB / 1.311 GB, free: 8.441 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/1.554, allocations: 8 kB / 1.311 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.822e-05/1.554, allocations: 7.938 kB / 1.312 GB, free: 8.426 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/1.554, allocations: 3.984 kB / 1.312 GB, free: 8.422 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008735/1.562, allocations: 2.968 MB / 1.314 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/1.562, allocations: 4 kB / 1.314 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/1.563, allocations: 103.8 kB / 1.315 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/1.565, allocations: 253.5 kB / 1.315 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.565, allocations: 19.98 kB / 1.315 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008748/1.573, allocations: 4.736 MB / 1.319 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.573, allocations: 0 / 1.319 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006778/1.58, allocations: 2.032 MB / 1.321 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/1.582, allocations: 393.3 kB / 1.322 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/1.582, allocations: 24 kB / 1.322 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.583, allocations: 51.94 kB / 1.322 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003989/1.584, allocations: 88.88 kB / 1.322 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.584, allocations: 31.98 kB / 1.322 GB, free: 13.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.006861/1.591, allocations: 3.247 MB / 1.325 GB, free: 10.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.179e-06/1.591, allocations: 0 / 1.325 GB, free: 10.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002548/1.593, allocations: 359.3 kB / 1.325 GB, free: 9.746 MB / 1.061 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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,18,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.002322/1.595, allocations: 0.4904 MB / 1.326 GB, free: 9.426 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004392/1.6, allocations: 1.282 MB / 1.327 GB, free: 8.125 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/1.6, allocations: 0 / 1.327 GB, free: 8.125 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002272/1.602, allocations: 0.814 MB / 1.328 GB, free: 7.281 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/1.605, allocations: 349.1 kB / 1.328 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/1.619, allocations: 5.393 MB / 1.334 GB, free: 1.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002286/1.621, allocations: 1.796 MB / 1.335 GB, free: 15.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/1.622, allocations: 91.41 kB / 1.335 GB, free: 15.6 MB / 1.076 GB Notification: Performance of SimCode: time 2.826e-06/1.622, allocations: 4 kB / 1.335 GB, free: 15.59 MB / 1.076 GB Notification: Performance of Templates: time 0.06358/1.686, allocations: 41.32 MB / 1.376 GB, free: 6.293 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches