Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase10,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.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_9_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.001143/0.001143, allocations: 112 kB / 16.41 MB, free: 6.484 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.001077/0.001077, allocations: 183 kB / 17.34 MB, free: 5.762 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.16 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.313/2.313, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9546/0.9561, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.2012/1.157, allocations: 157.5 MB / 1.242 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02851/1.186, allocations: 22.07 MB / 1.264 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/1.189, allocations: 55.69 kB / 1.264 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002762/1.192, allocations: 2.175 MB / 1.266 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002777/1.195, allocations: 1.452 MB / 1.268 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/1.197, allocations: 0.6141 MB / 1.268 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002857/1.2, allocations: 1.937 MB / 1.27 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/1.201, allocations: 1.115 MB / 1.271 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/1.203, allocations: 0.9309 MB / 1.272 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/1.205, allocations: 1.588 MB / 1.274 GB, free: 188 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/1.205, allocations: 103.9 kB / 1.274 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/1.205, allocations: 140 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004787/1.206, allocations: 0.5472 MB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007326/1.207, allocations: 0.7991 MB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/1.209, allocations: 1.932 MB / 1.277 GB, free: 12.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.209, allocations: 0 / 1.277 GB, free: 12.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/1.209, allocations: 0 / 1.277 GB, free: 12.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.254e-05/1.209, allocations: 0 / 1.277 GB, free: 12.65 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003564/1.212, allocations: 2.353 MB / 1.279 GB, free: 10.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.212, allocations: 8.031 kB / 1.279 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/1.213, allocations: 241.9 kB / 1.28 GB, free: 9.984 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.214, allocations: 1.042 MB / 1.281 GB, free: 8.875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/1.214, allocations: 87 kB / 1.281 GB, free: 8.781 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/1.214, allocations: 75.98 kB / 1.281 GB, free: 8.707 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/1.216, allocations: 0.7767 MB / 1.282 GB, free: 7.914 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/1.216, allocations: 3.984 kB / 1.282 GB, free: 7.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/1.216, allocations: 31.98 kB / 1.282 GB, free: 7.879 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/1.216, allocations: 16 kB / 1.282 GB, free: 7.863 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.217, allocations: 0.6452 MB / 1.282 GB, free: 7.219 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/1.223, allocations: 3.706 MB / 1.286 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.224, allocations: 0.7439 MB / 1.287 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008025/1.225, allocations: 430 kB / 1.287 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/1.225, allocations: 12.55 kB / 1.287 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008385/1.226, allocations: 456 kB / 1.287 GB, free: 1.609 MB / 1.014 GB Notification: Performance of pre-optimization done (n=73): time 3.677e-06/1.226, allocations: 0 / 1.287 GB, free: 1.609 MB / 1.014 GB Notification: Performance of matching and sorting (n=73): time 0.004307/1.23, allocations: 1.83 MB / 1.289 GB, free: 15.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.23, allocations: 60.06 kB / 1.289 GB, free: 15.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/1.234, allocations: 3.359 MB / 1.293 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/1.234, allocations: 49.64 kB / 1.293 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008745/1.235, allocations: 0.933 MB / 1.293 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/1.236, allocations: 236.7 kB / 1.294 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/1.236, allocations: 134.7 kB / 1.294 GB, free: 10.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.236, allocations: 337.9 kB / 1.294 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/1.237, allocations: 321.8 kB / 1.294 GB, free: 10.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/1.237, allocations: 472.1 kB / 1.295 GB, free: 9.742 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/1.239, allocations: 0.7526 MB / 1.296 GB, free: 8.945 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.239, allocations: 0 / 1.296 GB, free: 8.945 MB / 1.029 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002519/1.241, allocations: 1.252 MB / 1.297 GB, free: 7.676 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.241, allocations: 10.34 kB / 1.297 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.241, allocations: 4 kB / 1.297 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007325/1.242, allocations: 259.8 kB / 1.297 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/1.243, allocations: 135.8 kB / 1.297 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/1.248, allocations: 4.752 MB / 1.302 GB, free: 2.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00088/1.249, allocations: 111.2 kB / 1.302 GB, free: 2.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/1.249, allocations: 28 kB / 1.302 GB, free: 2.113 MB / 1.029 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.0009742/1.25, allocations: 0.6031 MB / 1.303 GB, free: 1.504 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/1.25, allocations: 213.3 kB / 1.303 GB, free: 1.293 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/1.25, allocations: 261.1 kB / 1.303 GB, free: 1.031 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.25, allocations: 11.94 kB / 1.303 GB, free: 1.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/1.251, allocations: 4 kB / 1.303 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/1.251, allocations: 7.984 kB / 1.303 GB, free: 1.008 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/1.254, allocations: 2.413 MB / 1.305 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.254, allocations: 0 / 1.305 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/1.255, allocations: 71.89 kB / 1.306 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005908/1.255, allocations: 251.6 kB / 1.306 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/1.255, allocations: 19.98 kB / 1.306 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004927/1.26, allocations: 4.739 MB / 1.31 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.26, allocations: 0 / 1.31 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/1.263, allocations: 1.642 MB / 1.312 GB, free: 7.504 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000688/1.264, allocations: 322.2 kB / 1.312 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/1.264, allocations: 16 kB / 1.312 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/1.265, allocations: 39.95 kB / 1.312 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/1.265, allocations: 76.55 kB / 1.312 GB, free: 7.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/1.265, allocations: 27.98 kB / 1.312 GB, free: 7.008 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002701/1.268, allocations: 2.46 MB / 1.315 GB, free: 4.535 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.51e-07/1.268, allocations: 0 / 1.315 GB, free: 4.535 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001084/1.269, allocations: 303.5 kB / 1.315 GB, free: 4.238 MB / 1.045 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.001252/1.27, allocations: 490.3 kB / 1.316 GB, free: 3.941 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002137/1.272, allocations: 1.102 MB / 1.317 GB, free: 2.816 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.272, allocations: 0 / 1.317 GB, free: 2.816 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.273, allocations: 0.7061 MB / 1.317 GB, free: 2.086 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.275, allocations: 301 kB / 1.318 GB, free: 1.801 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006254/1.281, allocations: 4.155 MB / 1.322 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.282, allocations: 1.54 MB / 1.323 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/1.282, allocations: 75.41 kB / 1.323 GB, free: 11.96 MB / 1.061 GB Notification: Performance of SimCode: time 6.72e-07/1.282, allocations: 0 / 1.323 GB, free: 11.96 MB / 1.061 GB Notification: Performance of Templates: time 0.045/1.327, allocations: 32.7 MB / 1.355 GB, free: 11.29 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches