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.001332/0.001332, allocations: 107.4 kB / 16.41 MB, free: 6.457 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.001437/0.001437, allocations: 192.3 kB / 17.35 MB, free: 5.715 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: 222.9 MB / 241.1 MB, free: 15.15 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.421/2.421, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.88 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.725, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002552/0.7276, allocations: 1.583 MB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.7285, allocations: 0.5815 MB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.7286, allocations: 4 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.7287, allocations: 7.938 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.7288, allocations: 7.875 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.7291, allocations: 51.88 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.7292, allocations: 55.78 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.7293, allocations: 15.98 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.7294, allocations: 31.84 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.7295, allocations: 19.92 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.7295, allocations: 7.938 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.7296, allocations: 47.95 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.7297, allocations: 15.98 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.7297, allocations: 27.8 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.7299, allocations: 99.67 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7299, allocations: 0 / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7299, allocations: 0 / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.7299, allocations: 0 / 1.17 GB, free: 1.254 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.0005162/0.7305, allocations: 400.7 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7305, allocations: 8.922 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009449/0.7315, allocations: 212.5 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.7316, allocations: 186.3 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.7317, allocations: 34.25 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.7317, allocations: 7.938 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.7321, allocations: 165.5 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.7322, allocations: 3.938 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.7322, allocations: 4 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.7322, allocations: 4 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006301/0.7328, allocations: 247.7 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.7337, allocations: 0.4961 MB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.7343, allocations: 238.3 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.7346, allocations: 124.8 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.7346, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.7346, allocations: 34.5 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.7346, allocations: 7.938 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0009993/0.7356, allocations: 373.2 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.7357, allocations: 51.41 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.7358, allocations: 172.4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.7359, allocations: 25.7 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.7359, allocations: 104.1 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.7359, allocations: 7.938 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.736, allocations: 25.69 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7361, allocations: 322.8 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.7364, allocations: 107.9 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.7367, allocations: 115.9 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.7373, allocations: 204.6 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7373, allocations: 0 / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000628/0.7379, allocations: 253.4 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7379, allocations: 4 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7379, allocations: 3.984 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.738, allocations: 0 / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.7382, allocations: 47.95 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.7382, allocations: 0 / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.7384, allocations: 35.88 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.7384, allocations: 7.984 kB / 1.174 GB, free: 13.07 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 8.716e-05/0.7385, allocations: 117.8 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.7385, allocations: 11.91 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.7386, allocations: 11.88 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7386, allocations: 0 / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7386, allocations: 7.875 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.7386, allocations: 92.94 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.7387, allocations: 0 / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.7389, allocations: 31.94 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.7389, allocations: 8 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007856/0.7397, allocations: 360.6 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006985/0.7404, allocations: 430.4 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003045/0.7407, allocations: 115.9 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.25e-05/0.7408, allocations: 129.9 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of Backend: time 4.01e-07/0.7408, allocations: 0 / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006877/0.7415, allocations: 210.3 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004847/0.742, allocations: 0.6446 MB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.00471/0.7467, allocations: 2.296 MB / 1.178 GB, free: 8.523 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