Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,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.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.0017/0.0017, allocations: 191 kB / 16.91 MB, free: 6.184 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 482.4 MB / 0.755 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 62 kB / 0.924 GB, free: 320 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 162.2 MB / 1.082 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.2291/1.249, allocations: 155.8 MB / 1.235 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03214/1.281, allocations: 21.86 MB / 1.256 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/1.285, allocations: 67.56 kB / 1.256 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002217/1.287, allocations: 1.333 MB / 1.257 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/1.289, allocations: 0.9655 MB / 1.258 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/1.291, allocations: 0.5788 MB / 1.259 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002584/1.294, allocations: 1.692 MB / 1.26 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/1.295, allocations: 0.9725 MB / 1.261 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/1.297, allocations: 0.7436 MB / 1.262 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/1.298, allocations: 1.234 MB / 1.263 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/1.298, allocations: 92 kB / 1.263 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/1.299, allocations: 140 kB / 1.263 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/1.299, allocations: 436.3 kB / 1.264 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006974/1.3, allocations: 0.6481 MB / 1.265 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/1.301, allocations: 1.228 MB / 1.266 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.302, allocations: 4 kB / 1.266 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.969e-06/1.302, allocations: 4 kB / 1.266 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.711e-05/1.302, allocations: 0 / 1.266 GB, free: 2.773 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003481/1.305, allocations: 1.915 MB / 1.268 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.305, allocations: 12.03 kB / 1.268 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/1.305, allocations: 186.6 kB / 1.268 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/1.307, allocations: 0.8711 MB / 1.269 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/1.307, allocations: 83 kB / 1.269 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/1.307, allocations: 64 kB / 1.269 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/1.309, allocations: 0.7215 MB / 1.27 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/1.309, allocations: 0 / 1.27 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/1.309, allocations: 31.98 kB / 1.27 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/1.309, allocations: 16 kB / 1.27 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.31, allocations: 0.5476 MB / 1.27 GB, free: 14.19 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.005474/1.315, allocations: 3.625 MB / 1.274 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/1.317, allocations: 0.6079 MB / 1.274 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/1.318, allocations: 378.3 kB / 1.275 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-05/1.318, allocations: 12.53 kB / 1.275 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008414/1.319, allocations: 378.9 kB / 1.275 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 3.136e-06/1.319, allocations: 4 kB / 1.275 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.005594/1.324, allocations: 1.773 MB / 1.277 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/1.324, allocations: 59.97 kB / 1.277 GB, free: 7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/1.327, allocations: 2.255 MB / 1.279 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.725e-05/1.327, allocations: 49.7 kB / 1.279 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006996/1.328, allocations: 0.7109 MB / 1.28 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/1.328, allocations: 220.9 kB / 1.28 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/1.329, allocations: 130.7 kB / 1.28 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.329, allocations: 334 kB / 1.28 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/1.329, allocations: 273.8 kB / 1.281 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/1.33, allocations: 424.8 kB / 1.281 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/1.331, allocations: 0.665 MB / 1.282 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.331, allocations: 4 kB / 1.282 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002487/1.334, allocations: 1.118 MB / 1.283 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.334, allocations: 11.98 kB / 1.283 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.334, allocations: 4 kB / 1.283 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008952/1.335, allocations: 271.2 kB / 1.283 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/1.335, allocations: 123.7 kB / 1.283 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005769/1.341, allocations: 3.74 MB / 1.287 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007986/1.342, allocations: 95.38 kB / 1.287 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/1.342, allocations: 32 kB / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008548/1.343, allocations: 460.6 kB / 1.287 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/1.343, allocations: 154 kB / 1.288 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/1.343, allocations: 187.7 kB / 1.288 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/1.343, allocations: 15.94 kB / 1.288 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.343, allocations: 7.938 kB / 1.288 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.344, allocations: 3.984 kB / 1.288 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/1.347, allocations: 2.033 MB / 1.29 GB, free: 9.383 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.347, allocations: 7.938 kB / 1.29 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/1.347, allocations: 59.89 kB / 1.29 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007743/1.348, allocations: 272.2 kB / 1.29 GB, free: 9.047 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/1.348, allocations: 23.92 kB / 1.29 GB, free: 9.023 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006475/1.355, allocations: 5.246 MB / 1.295 GB, free: 3.504 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.355, allocations: 0 / 1.295 GB, free: 3.504 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/1.358, allocations: 1.396 MB / 1.297 GB, free: 2.082 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/1.358, allocations: 267 kB / 1.297 GB, free: 1.801 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.358, allocations: 20.11 kB / 1.297 GB, free: 1.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/1.359, allocations: 47.88 kB / 1.297 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.359, allocations: 72.31 kB / 1.297 GB, free: 1.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/1.359, allocations: 23.98 kB / 1.297 GB, free: 1.641 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002/1.361, allocations: 1.627 MB / 1.299 GB, free: 20 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.361, allocations: 4 kB / 1.299 GB, free: 16 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.001071/1.362, allocations: 280.2 kB / 1.299 GB, free: 15.74 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001831/1.364, allocations: 489.6 kB / 1.299 GB, free: 15.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002304/1.366, allocations: 0.9536 MB / 1.3 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.366, allocations: 0 / 1.3 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/1.367, allocations: 0.6753 MB / 1.301 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/1.369, allocations: 279.9 kB / 1.301 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/1.374, allocations: 3.618 MB / 1.305 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.376, allocations: 1.307 MB / 1.306 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/1.376, allocations: 63.42 kB / 1.306 GB, free: 8.461 MB / 1.029 GB Notification: Performance of SimCode: time 1.122e-06/1.376, allocations: 0 / 1.306 GB, free: 8.461 MB / 1.029 GB Notification: Performance of Templates: time 0.03962/1.416, allocations: 23.66 MB / 1.329 GB, free: 0.8555 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time