Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009488/0.0009487, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009922/0.0009924, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.338/1.338, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.649/2.649, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 13.39 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3213, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1548/0.4761, allocations: 152.4 MB / 1.208 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.502, allocations: 21.38 MB / 1.229 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.504, allocations: 43.75 kB / 1.229 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.506, allocations: 1.126 MB / 1.23 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.508, allocations: 0.8138 MB / 1.231 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.5093, allocations: 382.5 kB / 1.231 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.5111, allocations: 1.352 MB / 1.233 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009526/0.512, allocations: 0.5772 MB / 1.233 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008263/0.5129, allocations: 482.2 kB / 1.234 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.514, allocations: 0.8863 MB / 1.235 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.5142, allocations: 28 kB / 1.235 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.5144, allocations: 67.98 kB / 1.235 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.5147, allocations: 296.8 kB / 1.235 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.5152, allocations: 474.5 kB / 1.235 GB, free: 60 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008723/0.5161, allocations: 0.8924 MB / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5161, allocations: 0 / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5161, allocations: 0 / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.309e-05/0.5162, allocations: 0 / 1.236 GB, free: 15.16 MB / 0.9981 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.002234/0.5184, allocations: 1.32 MB / 1.238 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5184, allocations: 11.97 kB / 1.238 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.5187, allocations: 135.3 kB / 1.238 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008964/0.5196, allocations: 0.6627 MB / 1.238 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.5197, allocations: 74.69 kB / 1.238 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.31e-05/0.5198, allocations: 48 kB / 1.238 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5208, allocations: 0.534 MB / 1.239 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.5209, allocations: 0 / 1.239 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.5209, allocations: 20 kB / 1.239 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.5209, allocations: 12 kB / 1.239 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/0.5218, allocations: 427.7 kB / 1.239 GB, free: 11.81 MB / 0.9981 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.003742/0.5256, allocations: 2.798 MB / 1.242 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.5266, allocations: 457 kB / 1.243 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.5272, allocations: 318.9 kB / 1.243 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.5273, allocations: 4.328 kB / 1.243 GB, free: 8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005577/0.5278, allocations: 300 kB / 1.243 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/0.5279, allocations: 0 / 1.243 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002784/0.5306, allocations: 1.179 MB / 1.244 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.5307, allocations: 63.39 kB / 1.244 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.5327, allocations: 1.768 MB / 1.246 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.5328, allocations: 37.7 kB / 1.246 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.5333, allocations: 0.5172 MB / 1.247 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.5334, allocations: 142 kB / 1.247 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.5335, allocations: 57.69 kB / 1.247 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5337, allocations: 326 kB / 1.247 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.5342, allocations: 233 kB / 1.247 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.5348, allocations: 359.1 kB / 1.248 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009664/0.5358, allocations: 0.5425 MB / 1.248 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.5358, allocations: 3.938 kB / 1.248 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001663/0.5374, allocations: 0.8454 MB / 1.249 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.5375, allocations: 9.562 kB / 1.249 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5375, allocations: 4 kB / 1.249 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.5379, allocations: 137 kB / 1.249 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.5383, allocations: 107.8 kB / 1.249 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6266/1.165, allocations: 2.386 MB / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/1.166, allocations: 95.81 kB / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/1.166, allocations: 22.59 kB / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005625/1.166, allocations: 394.5 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/1.166, allocations: 112.4 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/1.167, allocations: 139.5 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.167, allocations: 6.422 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.167, allocations: 6.594 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.167, allocations: 7.141 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/1.169, allocations: 1.513 MB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.169, allocations: 3.844 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/1.169, allocations: 52.08 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/1.17, allocations: 165.9 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/1.17, allocations: 15.48 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/1.173, allocations: 3.691 MB / 1.258 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.173, allocations: 1.844 kB / 1.258 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/1.174, allocations: 1.022 MB / 1.259 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/1.174, allocations: 217.7 kB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/1.175, allocations: 14.94 kB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/1.175, allocations: 45.88 kB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.175, allocations: 51.28 kB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/1.175, allocations: 14.56 kB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001176/1.176, allocations: 1.284 MB / 1.26 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.176, allocations: 0 / 1.26 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007679/1.177, allocations: 208.3 kB / 1.26 GB, free: 187.8 MB / 0.9981 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,12,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.001124/1.178, allocations: 484.4 kB / 1.261 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001307/1.179, allocations: 0.6928 MB / 1.262 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.179, allocations: 0 / 1.262 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007509/1.18, allocations: 0.5423 MB / 1.262 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.181, allocations: 192.1 kB / 1.262 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/1.185, allocations: 2.817 MB / 1.265 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/1.185, allocations: 1.145 MB / 1.266 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.185, allocations: 45.67 kB / 1.266 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.185, allocations: 0 / 1.266 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.0325/1.218, allocations: 17.61 MB / 1.283 GB, free: 180 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches