Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007565/0.007565, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.001943/0.001943, allocations: 195.5 kB / 16.67 MB, free: 6.355 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 472.6 MB / 0.7452 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 59.89 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3209, allocations: 159.9 MB / 1.226 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.7601/1.081, allocations: 157.6 MB / 1.379 GB, free: 4.348 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02893/1.11, allocations: 22.08 MB / 1.401 GB, free: 2.559 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/1.113, allocations: 58.03 kB / 1.401 GB, free: 2.539 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/1.115, allocations: 2.169 MB / 1.403 GB, free: 1.457 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002752/1.118, allocations: 1.456 MB / 1.405 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/1.12, allocations: 0.6207 MB / 1.405 GB, free: 128 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002949/1.123, allocations: 1.944 MB / 1.407 GB, free: 15.06 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/1.125, allocations: 1.13 MB / 1.408 GB, free: 14.36 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/1.127, allocations: 0.9183 MB / 1.409 GB, free: 13.88 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/1.13, allocations: 1.593 MB / 1.411 GB, free: 13.18 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003541/1.13, allocations: 95.06 kB / 1.411 GB, free: 13.18 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006198/1.131, allocations: 147.5 kB / 1.411 GB, free: 13.16 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005463/1.131, allocations: 0.5568 MB / 1.411 GB, free: 12.81 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009676/1.132, allocations: 0.8032 MB / 1.412 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/1.134, allocations: 1.966 MB / 1.414 GB, free: 10.85 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.134, allocations: 1.375 kB / 1.414 GB, free: 10.85 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.402e-06/1.134, allocations: 0 / 1.414 GB, free: 10.85 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.991e-05/1.135, allocations: 0 / 1.414 GB, free: 10.85 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004298/1.139, allocations: 2.44 MB / 1.417 GB, free: 8.984 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.139, allocations: 9.5 kB / 1.417 GB, free: 8.984 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/1.139, allocations: 255 kB / 1.417 GB, free: 8.844 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/1.141, allocations: 1.071 MB / 1.418 GB, free: 7.98 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/1.141, allocations: 90.97 kB / 1.418 GB, free: 7.922 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/1.141, allocations: 71.45 kB / 1.418 GB, free: 7.898 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/1.142, allocations: 0.792 MB / 1.419 GB, free: 7.422 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/1.142, allocations: 6.516 kB / 1.419 GB, free: 7.418 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/1.143, allocations: 32.23 kB / 1.419 GB, free: 7.391 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.143, allocations: 18.28 kB / 1.419 GB, free: 7.391 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/1.144, allocations: 0.6357 MB / 1.419 GB, free: 7.078 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006159/1.15, allocations: 3.733 MB / 1.423 GB, free: 3.656 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/1.152, allocations: 0.7343 MB / 1.424 GB, free: 2.914 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/1.153, allocations: 434.3 kB / 1.424 GB, free: 2.488 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.127e-05/1.153, allocations: 16.48 kB / 1.424 GB, free: 2.473 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007959/1.153, allocations: 448.1 kB / 1.425 GB, free: 2.023 MB / 1.107 GB Notification: Performance of pre-optimization done (n=73): time 3.066e-06/1.153, allocations: 3.938 kB / 1.425 GB, free: 2.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=73): time 0.004317/1.158, allocations: 1.843 MB / 1.426 GB, free: 128 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.158, allocations: 71.94 kB / 1.427 GB, free: 44 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/1.162, allocations: 3.372 MB / 1.43 GB, free: 12.65 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.052e-05/1.162, allocations: 45.7 kB / 1.43 GB, free: 12.6 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/1.163, allocations: 0.9336 MB / 1.431 GB, free: 11.66 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/1.163, allocations: 242 kB / 1.431 GB, free: 11.42 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/1.163, allocations: 146.6 kB / 1.431 GB, free: 11.27 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.163, allocations: 337.9 kB / 1.431 GB, free: 10.94 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/1.164, allocations: 317.8 kB / 1.432 GB, free: 10.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000788/1.165, allocations: 464.1 kB / 1.432 GB, free: 10.12 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.166, allocations: 0.7502 MB / 1.433 GB, free: 9.336 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.166, allocations: 4 kB / 1.433 GB, free: 9.332 MB / 1.123 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002523/1.169, allocations: 1.262 MB / 1.434 GB, free: 8.059 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.169, allocations: 8 kB / 1.434 GB, free: 8.051 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.169, allocations: 4 kB / 1.434 GB, free: 8.047 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007869/1.17, allocations: 259 kB / 1.434 GB, free: 7.789 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/1.17, allocations: 135.8 kB / 1.435 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/1.175, allocations: 4.756 MB / 1.439 GB, free: 2.629 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/1.176, allocations: 107.4 kB / 1.439 GB, free: 2.523 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/1.176, allocations: 35.94 kB / 1.439 GB, free: 2.488 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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.001064/1.177, allocations: 0.6091 MB / 1.44 GB, free: 1.871 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/1.178, allocations: 226.4 kB / 1.44 GB, free: 1.648 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008818/1.179, allocations: 261.4 kB / 1.44 GB, free: 1.383 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.179, allocations: 11.98 kB / 1.44 GB, free: 1.371 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-05/1.179, allocations: 4 kB / 1.44 GB, free: 1.367 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.349e-05/1.179, allocations: 3.984 kB / 1.44 GB, free: 1.363 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/1.184, allocations: 2.421 MB / 1.443 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.184, allocations: 0 / 1.443 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/1.185, allocations: 75.83 kB / 1.443 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006748/1.185, allocations: 251 kB / 1.443 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/1.186, allocations: 19.94 kB / 1.443 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004953/1.191, allocations: 4.753 MB / 1.448 GB, free: 9.504 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.191, allocations: 4.031 kB / 1.448 GB, free: 9.5 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/1.194, allocations: 1.643 MB / 1.449 GB, free: 7.836 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005918/1.194, allocations: 339.4 kB / 1.45 GB, free: 7.484 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.194, allocations: 20 kB / 1.45 GB, free: 7.465 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/1.195, allocations: 35.95 kB / 1.45 GB, free: 7.43 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/1.195, allocations: 76.55 kB / 1.45 GB, free: 7.355 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/1.195, allocations: 24 kB / 1.45 GB, free: 7.332 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003087/1.198, allocations: 2.472 MB / 1.452 GB, free: 4.848 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.3e-07/1.198, allocations: 0 / 1.452 GB, free: 4.848 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001071/1.2, allocations: 299.7 kB / 1.453 GB, free: 4.555 MB / 1.139 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001209/1.201, allocations: 492.5 kB / 1.453 GB, free: 4.25 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002225/1.203, allocations: 1.107 MB / 1.454 GB, free: 3.121 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.203, allocations: 3.938 kB / 1.454 GB, free: 3.117 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/1.204, allocations: 0.7106 MB / 1.455 GB, free: 2.379 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/1.206, allocations: 290.1 kB / 1.455 GB, free: 2.102 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/1.213, allocations: 4.163 MB / 1.459 GB, free: 13.9 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/1.214, allocations: 1.56 MB / 1.461 GB, free: 12.31 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005649/1.215, allocations: 154.7 kB / 1.461 GB, free: 12.15 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/1.215, allocations: 71.42 kB / 1.461 GB, free: 12.08 MB / 1.154 GB Notification: Performance of SimCode: time 8.72e-07/1.215, allocations: 0 / 1.461 GB, free: 12.08 MB / 1.154 GB Notification: Performance of Templates: time 0.03044/1.246, allocations: 15.3 MB / 1.476 GB, free: 12.94 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches