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.001686/0.001686, allocations: 106.1 kB / 16.4 MB, free: 6.512 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.001936/0.001936, allocations: 192 kB / 17.34 MB, free: 5.738 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.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.16 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.826/2.826, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9219/0.924, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002964/0.927, allocations: 1.589 MB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.9281, allocations: 0.5892 MB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.9282, allocations: 0 / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.9283, allocations: 7.922 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.169e-05/0.9284, allocations: 7.875 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.9287, allocations: 55.88 kB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.9288, allocations: 51.78 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.9289, allocations: 15.98 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.929, allocations: 19.92 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.986e-05/0.9291, allocations: 27.86 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.9291, allocations: 4 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.9293, allocations: 55.88 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.9294, allocations: 19.98 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.9294, allocations: 31.8 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.9296, allocations: 92.12 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.9296, allocations: 4 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9296, allocations: 0 / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.9297, allocations: 0 / 1.17 GB, free: 1.262 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.000637/0.9303, allocations: 395 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9303, allocations: 12.92 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009195/0.9313, allocations: 212.5 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.9315, allocations: 185.5 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.9315, allocations: 38.2 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.9316, allocations: 7.938 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.932, allocations: 181.5 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.932, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.932, allocations: 3.938 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.9321, allocations: 0 / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000664/0.9327, allocations: 235.8 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/0.9337, allocations: 0.5077 MB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007425/0.9345, allocations: 242.3 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.9348, allocations: 116.8 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.9348, allocations: 4 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.9348, allocations: 30.56 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.9348, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.001039/0.9359, allocations: 369.3 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.9359, allocations: 59.42 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.9361, allocations: 168.4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.9361, allocations: 25.7 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.9362, allocations: 104.1 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.9363, allocations: 3.953 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.9363, allocations: 17.7 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.9365, allocations: 322.8 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.9368, allocations: 119.9 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.9371, allocations: 107.9 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005773/0.9377, allocations: 204.6 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9377, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006409/0.9383, allocations: 257.4 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9384, allocations: 8 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9384, allocations: 0 / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.9384, allocations: 0 / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.9386, allocations: 43.91 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.9386, allocations: 7.938 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.9388, allocations: 39.97 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.9388, allocations: 3.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 0.000106/0.939, allocations: 113.8 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.939, allocations: 11.94 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.939, allocations: 15.86 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.939, allocations: 0 / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.9391, allocations: 7.938 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9391, allocations: 7.938 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.9395, allocations: 249.4 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9395, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.9397, allocations: 43.86 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.9397, allocations: 7.938 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.9397, allocations: 3.984 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9397, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9397, allocations: 7.938 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.9405, allocations: 351.2 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.9405, allocations: 85.06 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.9406, allocations: 0 / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.9408, allocations: 31.94 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.9408, allocations: 11.92 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.9408, allocations: 4.031 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001349/0.941, allocations: 134.1 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.941, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002641/0.9413, allocations: 16 kB / 1.175 GB, free: 11.89 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.0001985/0.9415, allocations: 103.2 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000715/0.9422, allocations: 239.7 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9422, allocations: 0 / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.9425, allocations: 119.9 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.9428, allocations: 7.984 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007822/0.9436, allocations: 294.9 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.9441, allocations: 0.6963 MB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.9442, allocations: 35.83 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.9443, allocations: 15.42 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.9443, allocations: 0 / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.004984/0.9493, allocations: 1.296 MB / 1.177 GB, free: 9.043 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 -s cvode -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