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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 102.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.046/3.046, allocations: 497.2 MB / 0.7812 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 72.66 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3322, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00299/0.3352, allocations: 1.586 MB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3363, allocations: 0.6038 MB / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.3363, allocations: 0 / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.3364, allocations: 3.938 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.989e-05/0.3365, allocations: 11.92 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.3368, allocations: 51.81 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3369, allocations: 47.8 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.337, allocations: 11.98 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.3371, allocations: 23.92 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.734e-05/0.3372, allocations: 31.91 kB / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3372, allocations: 4 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3373, allocations: 51.89 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.3374, allocations: 23.91 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.3374, allocations: 23.81 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3376, allocations: 99.84 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3376, allocations: 0 / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3376, allocations: 0 / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3376, allocations: 0 / 1.306 GB, free: 14.99 MB / 1.014 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.0006849/0.3383, allocations: 402.9 kB / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3384, allocations: 12.92 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.3384, allocations: 30.75 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.3393, allocations: 216.5 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3395, allocations: 190.8 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/0.3396, allocations: 41.94 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.3396, allocations: 8 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.3401, allocations: 165.5 kB / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3401, allocations: 4 kB / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3401, allocations: 0 / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3401, allocations: 0 / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.3407, allocations: 239.8 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/0.3417, allocations: 0.5038 MB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.3423, allocations: 238.3 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.3426, allocations: 120.8 kB / 1.309 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3426, allocations: 0 / 1.309 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.3427, allocations: 34.56 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3427, allocations: 0 / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.001034/0.3437, allocations: 373.3 kB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3438, allocations: 55.34 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.3439, allocations: 166.2 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.344, allocations: 25.7 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.344, allocations: 100.1 kB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3441, allocations: 7.953 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.3441, allocations: 25.72 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3443, allocations: 318.8 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.3446, allocations: 111.9 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.3449, allocations: 111.9 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.3454, allocations: 200.7 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3454, allocations: 3.984 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006542/0.3461, allocations: 257.3 kB / 1.31 GB, free: 10.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3461, allocations: 4 kB / 1.31 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3461, allocations: 4 kB / 1.31 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3461, allocations: 0 / 1.31 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3463, allocations: 47.94 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3463, allocations: 3.938 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.3465, allocations: 43.83 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.3465, allocations: 3.984 kB / 1.31 GB, free: 10.75 MB / 1.014 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.000102/0.3466, allocations: 121.1 kB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.3467, allocations: 11.95 kB / 1.311 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.3467, allocations: 15.86 kB / 1.311 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3467, allocations: 0 / 1.311 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3467, allocations: 7.938 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3467, allocations: 4 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.347, allocations: 245.4 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.347, allocations: 7.875 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.3472, allocations: 43.92 kB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3472, allocations: 0 / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3472, allocations: 7.984 kB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3472, allocations: 0 / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3472, allocations: 3.938 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.348, allocations: 355.2 kB / 1.311 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.348, allocations: 89.05 kB / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.3481, allocations: 0 / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.3482, allocations: 35.97 kB / 1.311 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3483, allocations: 11.92 kB / 1.311 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.3483, allocations: 0 / 1.311 GB, free: 9.719 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000118/0.3484, allocations: 127.2 kB / 1.311 GB, free: 9.594 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3484, allocations: 0 / 1.311 GB, free: 9.594 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002585/0.3487, allocations: 16 kB / 1.311 GB, free: 9.578 MB / 1.014 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.001119/0.3498, allocations: 0.8918 MB / 1.312 GB, free: 8.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006561/0.3504, allocations: 235.8 kB / 1.313 GB, free: 8.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3504, allocations: 0 / 1.313 GB, free: 8.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.3507, allocations: 115.9 kB / 1.313 GB, free: 8.316 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.351, allocations: 17.42 kB / 1.313 GB, free: 8.301 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.3546, allocations: 2.352 MB / 1.315 GB, free: 5.871 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.355, allocations: 0.6885 MB / 1.316 GB, free: 5.156 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.3551, allocations: 28 kB / 1.316 GB, free: 5.129 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.3552, allocations: 31.41 kB / 1.316 GB, free: 5.098 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/0.3552, allocations: 0 / 1.316 GB, free: 5.098 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.3826, allocations: 2.66 MB / 1.318 GB, free: 2.535 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.826, allocations: 8.75 kB / 1.318 GB, free: 2.527 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.117650874890387]