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.001193/0.001193, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001098/0.001098, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.456/1.456, 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.212/2.212, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 71.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.924/0.9255, 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.2076/1.133, allocations: 157.5 MB / 1.242 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03009/1.163, allocations: 22.06 MB / 1.264 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/1.166, allocations: 55.69 kB / 1.264 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002953/1.169, allocations: 2.175 MB / 1.266 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003101/1.173, allocations: 1.452 MB / 1.268 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/1.175, allocations: 0.6103 MB / 1.268 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003107/1.178, allocations: 1.941 MB / 1.27 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/1.18, allocations: 1.111 MB / 1.271 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/1.182, allocations: 0.927 MB / 1.272 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/1.184, allocations: 1.596 MB / 1.274 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004414/1.185, allocations: 96 kB / 1.274 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/1.185, allocations: 136.1 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00064/1.186, allocations: 0.551 MB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/1.187, allocations: 0.7991 MB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002706/1.19, allocations: 1.928 MB / 1.277 GB, free: 12.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.19, allocations: 3.938 kB / 1.277 GB, free: 12.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.19, allocations: 0 / 1.277 GB, free: 12.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.917e-05/1.19, allocations: 4 kB / 1.277 GB, free: 12.64 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.004709/1.195, allocations: 2.353 MB / 1.279 GB, free: 10.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.195, allocations: 8.031 kB / 1.279 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/1.195, allocations: 237.9 kB / 1.28 GB, free: 9.984 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/1.197, allocations: 1.042 MB / 1.281 GB, free: 8.875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/1.197, allocations: 95 kB / 1.281 GB, free: 8.773 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.197, allocations: 72 kB / 1.281 GB, free: 8.703 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/1.199, allocations: 0.7805 MB / 1.282 GB, free: 7.906 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/1.199, allocations: 0 / 1.282 GB, free: 7.906 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/1.199, allocations: 28 kB / 1.282 GB, free: 7.879 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/1.199, allocations: 16 kB / 1.282 GB, free: 7.863 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/1.2, allocations: 0.6375 MB / 1.282 GB, free: 7.227 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/1.206, allocations: 3.721 MB / 1.286 GB, free: 3.246 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/1.208, allocations: 0.74 MB / 1.287 GB, free: 2.496 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007954/1.209, allocations: 430 kB / 1.287 GB, free: 2.074 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.948e-05/1.209, allocations: 12.56 kB / 1.287 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008424/1.21, allocations: 448 kB / 1.287 GB, free: 1.613 MB / 1.014 GB Notification: Performance of pre-optimization done (n=73): time 3.556e-06/1.21, allocations: 0 / 1.287 GB, free: 1.613 MB / 1.014 GB Notification: Performance of matching and sorting (n=73): time 0.004352/1.214, allocations: 1.834 MB / 1.289 GB, free: 15.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/1.214, allocations: 64.06 kB / 1.289 GB, free: 15.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/1.218, allocations: 3.359 MB / 1.293 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/1.218, allocations: 49.69 kB / 1.293 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000829/1.219, allocations: 0.9252 MB / 1.293 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/1.219, allocations: 236.7 kB / 1.294 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/1.22, allocations: 134.7 kB / 1.294 GB, free: 10.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.22, allocations: 345.8 kB / 1.294 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/1.221, allocations: 317.8 kB / 1.294 GB, free: 10.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/1.221, allocations: 472.1 kB / 1.295 GB, free: 9.742 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.223, allocations: 0.7579 MB / 1.296 GB, free: 8.941 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/1.223, allocations: 0 / 1.296 GB, free: 8.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00256/1.226, allocations: 1.249 MB / 1.297 GB, free: 7.676 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/1.226, allocations: 8 kB / 1.297 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.226, allocations: 7.984 kB / 1.297 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007463/1.226, allocations: 253.6 kB / 1.297 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/1.227, allocations: 143.7 kB / 1.297 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00508/1.232, allocations: 4.742 MB / 1.302 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/1.233, allocations: 111.2 kB / 1.302 GB, free: 2.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.233, allocations: 24 kB / 1.302 GB, free: 2.121 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.001068/1.234, allocations: 0.6085 MB / 1.303 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/1.235, allocations: 217.3 kB / 1.303 GB, free: 1.293 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/1.235, allocations: 265.1 kB / 1.303 GB, free: 1.027 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.235, allocations: 11.94 kB / 1.303 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/1.235, allocations: 4 kB / 1.303 GB, free: 1.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/1.235, allocations: 3.984 kB / 1.303 GB, free: 1.008 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00438/1.24, allocations: 2.409 MB / 1.305 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.24, allocations: 0 / 1.305 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/1.24, allocations: 75.89 kB / 1.306 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006232/1.241, allocations: 245.5 kB / 1.306 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/1.241, allocations: 23.98 kB / 1.306 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/1.246, allocations: 4.743 MB / 1.31 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.246, allocations: 4.062 kB / 1.31 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/1.249, allocations: 1.63 MB / 1.312 GB, free: 7.512 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006495/1.249, allocations: 326.2 kB / 1.312 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/1.25, allocations: 19.98 kB / 1.312 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/1.25, allocations: 39.97 kB / 1.312 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/1.251, allocations: 72.55 kB / 1.312 GB, free: 7.039 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/1.251, allocations: 27.98 kB / 1.312 GB, free: 7.012 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002935/1.254, allocations: 2.46 MB / 1.315 GB, free: 4.539 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.31e-07/1.254, allocations: 0 / 1.315 GB, free: 4.539 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001144/1.255, allocations: 299.5 kB / 1.315 GB, free: 4.246 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.001249/1.256, allocations: 0.4913 MB / 1.316 GB, free: 3.934 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002259/1.258, allocations: 1.098 MB / 1.317 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.258, allocations: 0 / 1.317 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/1.259, allocations: 0.7066 MB / 1.317 GB, free: 2.082 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/1.261, allocations: 306.5 kB / 1.318 GB, free: 1.797 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/1.268, allocations: 4.149 MB / 1.322 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/1.269, allocations: 1.544 MB / 1.323 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/1.27, allocations: 75.42 kB / 1.323 GB, free: 11.95 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.27, allocations: 0 / 1.323 GB, free: 11.95 MB / 1.061 GB Notification: Performance of Templates: time 0.04678/1.316, 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