Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 104.8 kB / 15.99 MB, free: 5.891 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.001955/0.001955, allocations: 186.6 kB / 16.91 MB, free: 5.746 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.535/1.535, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 482.4 MB / 0.755 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.34 kB / 0.924 GB, free: 288 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8617, allocations: 162.2 MB / 1.082 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.2113/1.073, allocations: 154.6 MB / 1.233 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03035/1.103, allocations: 21.51 MB / 1.254 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/1.106, allocations: 51.69 kB / 1.254 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/1.108, allocations: 1.122 MB / 1.256 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/1.11, allocations: 0.8138 MB / 1.256 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/1.112, allocations: 390.2 kB / 1.257 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001755/1.113, allocations: 1.255 MB / 1.258 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/1.114, allocations: 0.6811 MB / 1.259 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/1.116, allocations: 0.5567 MB / 1.259 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/1.117, allocations: 0.9567 MB / 1.26 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/1.117, allocations: 67.94 kB / 1.26 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/1.117, allocations: 116 kB / 1.26 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/1.118, allocations: 340.7 kB / 1.261 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005394/1.118, allocations: 492.8 kB / 1.261 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/1.119, allocations: 0.9238 MB / 1.262 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.119, allocations: 0 / 1.262 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/1.119, allocations: 0 / 1.262 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.921e-05/1.119, allocations: 0 / 1.262 GB, free: 6.648 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002548/1.122, allocations: 1.482 MB / 1.263 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.122, allocations: 15.97 kB / 1.263 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/1.122, allocations: 135.2 kB / 1.264 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009556/1.123, allocations: 0.6473 MB / 1.264 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/1.123, allocations: 70.67 kB / 1.264 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.132e-05/1.123, allocations: 51.98 kB / 1.264 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.125, allocations: 0.5223 MB / 1.265 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/1.125, allocations: 0 / 1.265 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/1.125, allocations: 16 kB / 1.265 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/1.125, allocations: 12 kB / 1.265 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009648/1.126, allocations: 415.7 kB / 1.265 GB, free: 3.168 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/1.13, allocations: 2.807 MB / 1.268 GB, free: 112 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/1.131, allocations: 452.1 kB / 1.268 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/1.132, allocations: 289.3 kB / 1.269 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/1.132, allocations: 4.656 kB / 1.269 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006033/1.132, allocations: 297.9 kB / 1.269 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.905e-06/1.132, allocations: 0 / 1.269 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.003215/1.136, allocations: 1.246 MB / 1.27 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/1.136, allocations: 59.39 kB / 1.27 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/1.138, allocations: 1.755 MB / 1.272 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/1.138, allocations: 37.7 kB / 1.272 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/1.139, allocations: 0.5144 MB / 1.273 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/1.139, allocations: 145.9 kB / 1.273 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/1.139, allocations: 98.25 kB / 1.273 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.139, allocations: 330 kB / 1.273 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/1.14, allocations: 224.9 kB / 1.273 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/1.14, allocations: 320.9 kB / 1.274 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009644/1.141, allocations: 0.5101 MB / 1.274 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.141, allocations: 0 / 1.274 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001843/1.143, allocations: 0.854 MB / 1.275 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.143, allocations: 8.156 kB / 1.275 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.143, allocations: 8 kB / 1.275 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/1.144, allocations: 188.7 kB / 1.275 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/1.144, allocations: 95.81 kB / 1.275 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004067/1.148, allocations: 2.995 MB / 1.278 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/1.149, allocations: 83.55 kB / 1.278 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/1.149, allocations: 16 kB / 1.278 GB, free: 5.289 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006081/1.149, allocations: 392 kB / 1.279 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/1.149, allocations: 126.4 kB / 1.279 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/1.15, allocations: 135.7 kB / 1.279 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.15, allocations: 4 kB / 1.279 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.15, allocations: 4 kB / 1.279 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.15, allocations: 0 / 1.279 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/1.153, allocations: 1.577 MB / 1.28 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.153, allocations: 0 / 1.28 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/1.153, allocations: 43.97 kB / 1.28 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005522/1.153, allocations: 197.5 kB / 1.281 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/1.153, allocations: 12 kB / 1.281 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/1.159, allocations: 4.56 MB / 1.285 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.159, allocations: 0 / 1.285 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/1.161, allocations: 1.061 MB / 1.286 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/1.161, allocations: 215.5 kB / 1.286 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/1.161, allocations: 15.98 kB / 1.286 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/1.162, allocations: 31.97 kB / 1.286 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.162, allocations: 55.92 kB / 1.286 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/1.162, allocations: 15.98 kB / 1.286 GB, free: 12.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001604/1.164, allocations: 1.277 MB / 1.288 GB, free: 11.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.682e-05/1.164, allocations: 4 kB / 1.288 GB, free: 11.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000892/1.165, allocations: 211.6 kB / 1.288 GB, free: 10.98 MB / 1.014 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.001785/1.166, allocations: 487.4 kB / 1.288 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001959/1.168, allocations: 0.7521 MB / 1.289 GB, free: 9.922 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.168, allocations: 4 kB / 1.289 GB, free: 9.918 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.169, allocations: 0.5556 MB / 1.29 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/1.171, allocations: 207.3 kB / 1.29 GB, free: 9.141 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/1.175, allocations: 2.741 MB / 1.293 GB, free: 6.359 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009194/1.176, allocations: 1.146 MB / 1.294 GB, free: 5.184 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/1.176, allocations: 47.42 kB / 1.294 GB, free: 5.141 MB / 1.014 GB Notification: Performance of SimCode: time 2.395e-06/1.176, allocations: 0 / 1.294 GB, free: 5.141 MB / 1.014 GB Notification: Performance of Templates: time 0.02963/1.206, allocations: 17.83 MB / 1.311 GB, free: 3.352 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches