Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 103.1 kB / 16.41 MB, free: 6.461 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.00133/0.00133, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 437.1 MB / 0.7112 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.89 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9151/0.9166, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003081/0.9198, allocations: 1.592 MB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.921, allocations: 0.5853 MB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.9211, allocations: 0 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.9212, allocations: 3.938 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.677e-05/0.9213, allocations: 15.86 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.9216, allocations: 55.88 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.9217, allocations: 47.8 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.9219, allocations: 19.97 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.922, allocations: 23.92 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.9221, allocations: 19.86 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.9221, allocations: 4 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.9223, allocations: 51.89 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.9223, allocations: 23.97 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.9224, allocations: 35.73 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.9226, allocations: 83.75 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.9226, allocations: 4 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9226, allocations: 4 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.9226, allocations: 0 / 1.17 GB, free: 1.223 MB / 0.8887 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.0006225/0.9232, allocations: 396.7 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.9233, allocations: 8.625 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009127/0.9242, allocations: 212.5 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.9244, allocations: 182.4 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.9245, allocations: 38.25 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.9245, allocations: 7.938 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.9249, allocations: 177.4 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.925, allocations: 0 / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.925, allocations: 4 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.925, allocations: 3.984 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.9256, allocations: 235.8 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/0.9265, allocations: 0.5 MB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.9271, allocations: 242.3 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.9274, allocations: 116.8 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.9274, allocations: 3.938 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.9274, allocations: 34.56 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.9274, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0009896/0.9284, allocations: 373.1 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.9285, allocations: 51.41 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.9287, allocations: 172.4 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.9287, allocations: 29.83 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.9287, allocations: 108.1 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.9288, allocations: 3.906 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.9288, allocations: 21.7 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.929, allocations: 318.8 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.9293, allocations: 115.9 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.9295, allocations: 119.9 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.9301, allocations: 196.7 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.9301, allocations: 3.938 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006192/0.9307, allocations: 253.3 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.9307, allocations: 8 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9307, allocations: 0 / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.9308, allocations: 4.031 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.931, allocations: 39.92 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.931, allocations: 3.938 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.9312, allocations: 39.92 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.9312, allocations: 4 kB / 1.174 GB, free: 13.05 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.9313, allocations: 121.8 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.9313, allocations: 7.906 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.9314, allocations: 11.88 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.9314, allocations: 3.938 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.9314, allocations: 3.938 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.9314, allocations: 0 / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.9317, allocations: 249.4 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9317, allocations: 0 / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.9319, allocations: 51.91 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.9319, allocations: 3.938 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.9319, allocations: 3.984 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.9319, allocations: 0 / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9319, allocations: 3.938 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006829/0.9326, allocations: 347.2 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.9327, allocations: 92.98 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.9327, allocations: 4.031 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.9329, allocations: 35.94 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.933, allocations: 3.938 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.933, allocations: 3.984 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.435e-05/0.9331, allocations: 134 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9331, allocations: 0 / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002622/0.9334, allocations: 24 kB / 1.175 GB, free: 11.87 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.9335, allocations: 99.33 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000637/0.9342, allocations: 235.7 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9342, allocations: 4 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.9345, allocations: 115.9 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.9348, allocations: 4.125 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.9355, allocations: 324.5 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.9357, allocations: 0.7002 MB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.9358, allocations: 23.41 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of SimCode: time 1.743e-06/0.9358, allocations: 0 / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of Templates: time 0.003549/0.9394, allocations: 1.674 MB / 1.178 GB, free: 8.633 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches