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/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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001774/0.001774, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.534/2.534, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 55.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7363, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002787/0.7392, allocations: 1.572 MB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.7402, allocations: 0.5845 MB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.7403, allocations: 0 / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.808e-05/0.7403, allocations: 11.86 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.7405, allocations: 3.938 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.7408, allocations: 55.81 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.7409, allocations: 51.84 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.741, allocations: 12 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.7411, allocations: 31.84 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.7412, allocations: 19.92 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.7412, allocations: 4 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.7414, allocations: 51.89 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.7414, allocations: 19.97 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.7415, allocations: 31.8 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.7417, allocations: 103.6 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7417, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7417, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7417, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 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.0005785/0.7423, allocations: 392.7 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.7423, allocations: 16.02 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000948/0.7433, allocations: 204.5 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.7435, allocations: 188.8 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.7435, allocations: 37.95 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.7436, allocations: 3.984 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.744, allocations: 177.5 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.744, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.744, allocations: 3.938 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.744, allocations: 4 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.7446, allocations: 235.7 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008565/0.7455, allocations: 0.5117 MB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.7461, allocations: 234.3 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.7465, allocations: 128.7 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.7465, allocations: 0 / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.7465, allocations: 34.56 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7465, allocations: 0 / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.001008/0.7475, allocations: 365.1 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.7476, allocations: 55.53 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.7477, allocations: 171 kB / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.7477, allocations: 25.7 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.7478, allocations: 108.1 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.7478, allocations: 3.906 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.7479, allocations: 21.7 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.748, allocations: 322.8 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.7483, allocations: 115.8 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.7486, allocations: 111.9 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.7491, allocations: 200.7 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.7491, allocations: 4 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006984/0.7499, allocations: 261.3 kB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.7499, allocations: 5.875 kB / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7499, allocations: 0 / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7499, allocations: 0 / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.7501, allocations: 43.92 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.7502, allocations: 7.922 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.7503, allocations: 39.95 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.7504, allocations: 4 kB / 1.215 GB, free: 6.91 MB / 0.9356 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.0001073/0.7505, allocations: 125.3 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.7505, allocations: 7.906 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.7505, allocations: 7.875 kB / 1.215 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7506, allocations: 3.984 kB / 1.215 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7506, allocations: 0 / 1.215 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.7506, allocations: 92.89 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.7507, allocations: 8 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.7509, allocations: 31.94 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.7509, allocations: 4 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008028/0.7517, allocations: 364.6 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000715/0.7524, allocations: 438.4 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002955/0.7528, allocations: 111.9 kB / 1.216 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001056/0.7529, allocations: 127.2 kB / 1.216 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of Backend: time 7.22e-07/0.7529, allocations: 0 / 1.216 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007357/0.7536, allocations: 210.4 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000516/0.7541, allocations: 0.6408 MB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.005049/0.7592, allocations: 2.29 MB / 1.219 GB, free: 2.367 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches