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.004829/0.004829, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00125/0.00125, allocations: 195 kB / 16.68 MB, free: 5.969 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.162/1.162, allocations: 222.9 MB / 240.4 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 1.952/1.952, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.84 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6983/0.6995, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1693/0.8688, allocations: 157.5 MB / 1.242 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02636/0.8952, allocations: 22.06 MB / 1.263 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/0.8978, allocations: 67.62 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.9002, allocations: 2.171 MB / 1.265 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.9023, allocations: 1.464 MB / 1.267 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.9039, allocations: 0.6269 MB / 1.268 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.9059, allocations: 1.933 MB / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.9071, allocations: 1.123 MB / 1.27 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009544/0.908, allocations: 0.9153 MB / 1.271 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.9095, allocations: 1.596 MB / 1.273 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.9096, allocations: 96 kB / 1.273 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.91, allocations: 144 kB / 1.273 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.9104, allocations: 0.5472 MB / 1.274 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006517/0.9111, allocations: 0.7991 MB / 1.274 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.9129, allocations: 1.952 MB / 1.276 GB, free: 12.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9129, allocations: 0 / 1.276 GB, free: 12.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9129, allocations: 0 / 1.276 GB, free: 12.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.913, allocations: 0 / 1.276 GB, free: 12.61 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.003228/0.9162, allocations: 2.443 MB / 1.279 GB, free: 10.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.9162, allocations: 8.031 kB / 1.279 GB, free: 10.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.9165, allocations: 247.3 kB / 1.279 GB, free: 9.855 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.9179, allocations: 1.052 MB / 1.28 GB, free: 8.738 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.918, allocations: 98.98 kB / 1.28 GB, free: 8.633 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.9181, allocations: 68 kB / 1.28 GB, free: 8.566 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.9195, allocations: 0.7767 MB / 1.281 GB, free: 7.773 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.9195, allocations: 7.922 kB / 1.281 GB, free: 7.766 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.386e-05/0.9196, allocations: 28 kB / 1.281 GB, free: 7.738 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.9196, allocations: 16 kB / 1.281 GB, free: 7.723 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.9208, allocations: 0.6414 MB / 1.282 GB, free: 7.082 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/0.9257, allocations: 3.722 MB / 1.285 GB, free: 3.102 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.9271, allocations: 0.7401 MB / 1.286 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007375/0.9279, allocations: 434 kB / 1.286 GB, free: 1.926 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.9279, allocations: 16.55 kB / 1.286 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007748/0.9287, allocations: 448.1 kB / 1.287 GB, free: 1.461 MB / 1.014 GB Notification: Performance of pre-optimization done (n=73): time 3.326e-06/0.9287, allocations: 0 / 1.287 GB, free: 1.461 MB / 1.014 GB Notification: Performance of matching and sorting (n=73): time 0.004017/0.9328, allocations: 1.835 MB / 1.289 GB, free: 15.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.9328, allocations: 68 kB / 1.289 GB, free: 15.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/0.936, allocations: 3.367 MB / 1.292 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/0.9361, allocations: 45.7 kB / 1.292 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000711/0.9368, allocations: 0.9373 MB / 1.293 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.937, allocations: 238 kB / 1.293 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.9372, allocations: 134.6 kB / 1.293 GB, free: 10.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.9374, allocations: 341.9 kB / 1.294 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/0.938, allocations: 325.8 kB / 1.294 GB, free: 10.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/0.9387, allocations: 474.7 kB / 1.294 GB, free: 9.566 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.9399, allocations: 0.7448 MB / 1.295 GB, free: 8.777 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.9399, allocations: 4 kB / 1.295 GB, free: 8.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002203/0.9421, allocations: 1.259 MB / 1.296 GB, free: 7.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.9421, allocations: 8 kB / 1.296 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9422, allocations: 4 kB / 1.296 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/0.9428, allocations: 257.6 kB / 1.297 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.9434, allocations: 139.8 kB / 1.297 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.9479, allocations: 4.754 MB / 1.301 GB, free: 2.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/0.9487, allocations: 103.5 kB / 1.302 GB, free: 1.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.9488, allocations: 32 kB / 1.302 GB, free: 1.938 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.0007608/0.9495, allocations: 0.6107 MB / 1.302 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.9497, allocations: 222.5 kB / 1.302 GB, free: 1.102 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.95, allocations: 261.1 kB / 1.303 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.9501, allocations: 11.94 kB / 1.303 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.9501, allocations: 7.938 kB / 1.303 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.9501, allocations: 3.984 kB / 1.303 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.9537, allocations: 2.409 MB / 1.305 GB, free: 14.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.9537, allocations: 0 / 1.305 GB, free: 14.35 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.9541, allocations: 79.89 kB / 1.305 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006697/0.9548, allocations: 244.3 kB / 1.305 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/0.9548, allocations: 23.98 kB / 1.305 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00462/0.9594, allocations: 4.742 MB / 1.31 GB, free: 8.98 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9595, allocations: 4.062 kB / 1.31 GB, free: 8.977 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.9622, allocations: 1.647 MB / 1.312 GB, free: 7.305 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.9628, allocations: 339.4 kB / 1.312 GB, free: 6.953 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.963, allocations: 19.98 kB / 1.312 GB, free: 6.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.9635, allocations: 39.97 kB / 1.312 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.9637, allocations: 76.78 kB / 1.312 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.9637, allocations: 23.98 kB / 1.312 GB, free: 6.793 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00262/0.9664, allocations: 2.46 MB / 1.314 GB, free: 4.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9664, allocations: 0 / 1.314 GB, free: 4.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000964/0.9673, allocations: 303.6 kB / 1.315 GB, free: 4.023 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.001104/0.9685, allocations: 493.7 kB / 1.315 GB, free: 3.715 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.9705, allocations: 1.104 MB / 1.316 GB, free: 2.59 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.9705, allocations: 0 / 1.316 GB, free: 2.59 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.9716, allocations: 0.7104 MB / 1.317 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.9729, allocations: 294.3 kB / 1.317 GB, free: 1.578 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005824/0.9787, allocations: 4.137 MB / 1.321 GB, free: 13.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.9801, allocations: 1.548 MB / 1.323 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004909/0.9806, allocations: 166.5 kB / 1.323 GB, free: 11.65 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.9808, allocations: 75.41 kB / 1.323 GB, free: 11.57 MB / 1.061 GB Notification: Performance of SimCode: time 1.172e-06/0.9808, allocations: 0 / 1.323 GB, free: 11.57 MB / 1.061 GB Notification: Performance of Templates: time 0.02906/1.01, allocations: 15.26 MB / 1.338 GB, free: 12.48 MB / 1.076 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/jenkins/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