Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 216.7 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.064/3.064, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 69.3 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.337, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003673/0.3407, allocations: 1.599 MB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3421, allocations: 0.604 MB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.3422, allocations: 4 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.256e-05/0.3422, allocations: 7.922 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.3423, allocations: 15.8 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.3427, allocations: 63.86 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.3429, allocations: 47.92 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.343, allocations: 8.281 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3432, allocations: 31.86 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.3432, allocations: 27.75 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3433, allocations: 8 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.3434, allocations: 55.95 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.3435, allocations: 23.92 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.3435, allocations: 19.86 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3438, allocations: 111.5 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3438, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3438, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3438, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 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.0006414/0.3444, allocations: 317.8 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3445, allocations: 12.03 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.3445, allocations: 42.73 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.3456, allocations: 208.5 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.3458, allocations: 154.9 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.3459, allocations: 63.7 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.346, allocations: 8 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.3464, allocations: 165.5 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3464, allocations: 3.984 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3464, allocations: 11.88 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3464, allocations: 7.938 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/0.347, allocations: 239.7 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/0.3479, allocations: 474.9 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.3485, allocations: 242.3 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.3488, allocations: 120.8 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3488, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3489, allocations: 30.56 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3489, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.001013/0.3499, allocations: 369.3 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3499, allocations: 55.34 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.3501, allocations: 172.3 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3501, allocations: 33.7 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3502, allocations: 96.14 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.3503, allocations: 11.88 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.3503, allocations: 25.7 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3505, allocations: 318.8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.3508, allocations: 111.9 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.351, allocations: 115.9 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.3516, allocations: 200.7 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3516, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006406/0.3522, allocations: 257.4 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3523, allocations: 4 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3523, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3523, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.3525, allocations: 51.89 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3525, allocations: 7.938 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.3527, allocations: 35.92 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3527, allocations: 0 / 1.331 GB, free: 11.61 MB / 1.029 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.0001036/0.3528, allocations: 122.4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.3528, allocations: 15.91 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.3528, allocations: 7.969 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3529, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3529, allocations: 3.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3529, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.3531, allocations: 212.6 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3531, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.3533, allocations: 39.92 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3533, allocations: 4 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3533, allocations: 7.984 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.442e-05/0.3534, allocations: 3.984 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3534, allocations: 3.938 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.3541, allocations: 359.2 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.3542, allocations: 7.953 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3542, allocations: 0 / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3544, allocations: 35.94 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.3544, allocations: 11.95 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3544, allocations: 0 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001337/0.3546, allocations: 139.4 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3546, allocations: 0 / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002639/0.3548, allocations: 15.94 kB / 1.332 GB, free: 10.57 MB / 1.029 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.001147/0.356, allocations: 0.8864 MB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006756/0.3566, allocations: 235.7 kB / 1.333 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3566, allocations: 0 / 1.333 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.357, allocations: 123.9 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.3572, allocations: 7.938 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.361, allocations: 2.351 MB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.203e-05/0.3611, allocations: 87.38 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001/0.3612, allocations: 24 kB / 1.336 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.3613, allocations: 31.41 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3613, allocations: 0 / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.3931, allocations: 3.271 MB / 1.339 GB, free: 3.578 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.45, allocations: 3.984 kB / 1.339 GB, free: 3.574 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable lmtd.y in file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv. Warning: Get data of variable lmtd.y from file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.824559356085956]