Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001416/0.001416, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001404/0.001404, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.499/2.499, allocations: 476.7 MB / 0.7628 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 68.12 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7989, allocations: 168.7 MB / 1.271 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002244/0.8011, allocations: 1.604 MB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000804/0.8019, allocations: 0.6031 MB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.802, allocations: 0.75 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.802, allocations: 10 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.8021, allocations: 11.17 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.8023, allocations: 51 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.8024, allocations: 42.66 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.8025, allocations: 15.64 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.8026, allocations: 28.12 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.8026, allocations: 28.7 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.8027, allocations: 7.406 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.8028, allocations: 49.77 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.8028, allocations: 20.8 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.8029, allocations: 31.59 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.803, allocations: 103.7 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.803, allocations: 3.797 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.803, allocations: 1 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.803, allocations: 7.938 kB / 1.274 GB, free: 5.895 MB / 0.9981 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.000422/0.8035, allocations: 390.7 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.8035, allocations: 10.41 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.393e-05/0.8035, allocations: 35.78 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/0.8043, allocations: 210.2 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.8044, allocations: 184.2 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.8045, allocations: 40.52 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.8045, allocations: 1.969 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.8049, allocations: 168.8 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.8049, allocations: 2.156 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.8049, allocations: 4 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.8049, allocations: 0.8438 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.8055, allocations: 239.1 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000702/0.8062, allocations: 0.514 MB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.8067, allocations: 243.7 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.807, allocations: 114.7 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.807, allocations: 1 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.074e-05/0.807, allocations: 36.45 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.807, allocations: 0 / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0009184/0.8079, allocations: 369.1 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/0.8079, allocations: 56.25 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.8081, allocations: 164.7 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.8081, allocations: 29.83 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.8081, allocations: 102.1 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.8081, allocations: 6.078 kB / 1.277 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.8082, allocations: 19.25 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.8082, allocations: 324.8 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.8085, allocations: 114 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.8088, allocations: 114.3 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.8092, allocations: 198.7 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.8092, allocations: 0 / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005914/0.8098, allocations: 258.7 kB / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.8099, allocations: 5.656 kB / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.8099, allocations: 0 / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8099, allocations: 4.938 kB / 1.278 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.8101, allocations: 51.5 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.8101, allocations: 8.781 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.8103, allocations: 34.39 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.8103, allocations: 8.484 kB / 1.278 GB, free: 3.77 MB / 0.9981 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 6.084e-05/0.8103, allocations: 116.4 kB / 1.278 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.8104, allocations: 13.22 kB / 1.278 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.8104, allocations: 16.55 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8104, allocations: 0.9062 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8104, allocations: 4.75 kB / 1.278 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8104, allocations: 0.8438 kB / 1.278 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.8106, allocations: 245.9 kB / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8106, allocations: 0.9375 kB / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.8108, allocations: 47.22 kB / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8108, allocations: 0 / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.8108, allocations: 5.047 kB / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8108, allocations: 0 / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8108, allocations: 4.969 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/0.8114, allocations: 349.9 kB / 1.279 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.8115, allocations: 93.8 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.8115, allocations: 1.875 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.8117, allocations: 33.36 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.8117, allocations: 6.094 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.8117, allocations: 4.156 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.8118, allocations: 127.6 kB / 1.279 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8118, allocations: 0 / 1.279 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000242/0.812, allocations: 27.22 kB / 1.279 GB, free: 3.035 MB / 0.9981 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.0008268/0.8129, allocations: 0.877 MB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006403/0.8135, allocations: 239.3 kB / 1.28 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8135, allocations: 0 / 1.28 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.8138, allocations: 119.4 kB / 1.28 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.814, allocations: 20.28 kB / 1.28 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.8171, allocations: 2.331 MB / 1.282 GB, free: 16.87 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.8174, allocations: 0.6951 MB / 1.283 GB, free: 16.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.203e-05/0.8175, allocations: 27.67 kB / 1.283 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.8176, allocations: 31.91 kB / 1.283 GB, free: 16.14 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.8176, allocations: 0 / 1.283 GB, free: 16.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.8412, allocations: 2.634 MB / 1.286 GB, free: 15.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/8.033, allocations: 5.219 kB / 1.286 GB, free: 15.7 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.311817694999263]