Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.369/2.369, allocations: 393.5 MB / 408.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 185.9 kB / 0.4902 GB, free: 2.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 223.1 MB / 0.7992 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 98.98 kB / 0.9396 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004506, allocations: 9.688 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2461, allocations: 143 MB / 1.229 GB, free: 85.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1741/0.4203, allocations: 151.6 MB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4206, allocations: 95.92 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005576/0.4262, allocations: 1.701 MB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.887e-06/0.4262, allocations: 0 / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4262, allocations: 3.938 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004794/0.4267, allocations: 394.9 kB / 1.379 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4268, allocations: 8.031 kB / 1.379 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007826/0.4275, allocations: 95.78 kB / 1.38 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.4278, allocations: 198.2 kB / 1.38 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-05/0.4278, allocations: 37.69 kB / 1.38 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.4279, allocations: 4 kB / 1.38 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.4283, allocations: 157.5 kB / 1.38 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4284, allocations: 0 / 1.38 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.4284, allocations: 0 / 1.38 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4284, allocations: 0 / 1.38 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.429, allocations: 203.7 kB / 1.38 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.4299, allocations: 467.9 kB / 1.381 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.4304, allocations: 198.4 kB / 1.381 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.4305, allocations: 3.984 kB / 1.381 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.4305, allocations: 42.45 kB / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4305, allocations: 0 / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0009401/0.4315, allocations: 313.5 kB / 1.381 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4315, allocations: 55.34 kB / 1.381 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4317, allocations: 150 kB / 1.381 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.4317, allocations: 25.7 kB / 1.381 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.4318, allocations: 104.1 kB / 1.381 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.4318, allocations: 3.906 kB / 1.381 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.4318, allocations: 0 / 1.381 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.432, allocations: 322.9 kB / 1.382 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.4323, allocations: 95.91 kB / 1.382 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.4325, allocations: 91.84 kB / 1.382 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.4328, allocations: 87.92 kB / 1.382 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4328, allocations: 0 / 1.382 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006003/0.4334, allocations: 217.4 kB / 1.382 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4334, allocations: 8.031 kB / 1.382 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4335, allocations: 0 / 1.382 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4335, allocations: 3.953 kB / 1.382 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.4337, allocations: 31.95 kB / 1.382 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4337, allocations: 0 / 1.382 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.4339, allocations: 15.98 kB / 1.382 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.4339, allocations: 7.984 kB / 1.382 GB, free: 8.406 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.434, allocations: 127.3 kB / 1.382 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.4341, allocations: 7.906 kB / 1.382 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.4341, allocations: 11.88 kB / 1.382 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4341, allocations: 3.953 kB / 1.382 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4341, allocations: 0 / 1.382 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4341, allocations: 0 / 1.382 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.4344, allocations: 233.5 kB / 1.383 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.4344, allocations: 0 / 1.383 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.4346, allocations: 35.89 kB / 1.383 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4346, allocations: 4 kB / 1.383 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.4346, allocations: 7.984 kB / 1.383 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4347, allocations: 0 / 1.383 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4347, allocations: 3.953 kB / 1.383 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.4353, allocations: 319.2 kB / 1.383 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.4354, allocations: 88.95 kB / 1.383 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.4354, allocations: 0 / 1.383 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.4356, allocations: 23.91 kB / 1.383 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.4357, allocations: 3.953 kB / 1.383 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.4357, allocations: 11.98 kB / 1.383 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001078/0.4358, allocations: 133.7 kB / 1.383 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4358, allocations: 0 / 1.383 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002595/0.4361, allocations: 20 kB / 1.383 GB, free: 7.297 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.4363, allocations: 99.25 kB / 1.383 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006074/0.4369, allocations: 215.8 kB / 1.384 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4369, allocations: 0 / 1.384 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.4372, allocations: 107.9 kB / 1.384 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.4374, allocations: 8 kB / 1.384 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.4381, allocations: 282.6 kB / 1.384 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.4385, allocations: 0.7043 MB / 1.385 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000118/0.4386, allocations: 31.94 kB / 1.385 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.4387, allocations: 27.34 kB / 1.385 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/0.4387, allocations: 0 / 1.385 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of Templates: time 0.003371/0.4421, allocations: 1.106 MB / 1.386 GB, free: 4.668 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches