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.001693/0.001693, allocations: 106.1 kB / 16.45 MB, free: 6.508 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.001763/0.001763, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] 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.777/2.777, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 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.002771/0.002771, allocations: 63.91 kB / 1.104 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7978, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002847/0.8006, allocations: 1.574 MB / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.8017, allocations: 0.6016 MB / 1.271 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.8017, allocations: 0 / 1.271 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.617e-05/0.8018, allocations: 3.938 kB / 1.271 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.8019, allocations: 15.88 kB / 1.271 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.8022, allocations: 51.88 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.986e-05/0.8023, allocations: 51.78 kB / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.8024, allocations: 15.98 kB / 1.271 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.8025, allocations: 15.94 kB / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.8026, allocations: 39.77 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.8026, allocations: 4 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.8027, allocations: 47.95 kB / 1.271 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.8028, allocations: 15.98 kB / 1.271 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.8028, allocations: 35.73 kB / 1.271 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.803, allocations: 97.45 kB / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.803, allocations: 0 / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.803, allocations: 0 / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.803, allocations: 0 / 1.271 GB, free: 2.609 MB / 0.9669 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.0005925/0.8036, allocations: 395 kB / 1.272 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.8037, allocations: 8.031 kB / 1.272 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.8037, allocations: 42.67 kB / 1.272 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008332/0.8045, allocations: 212.5 kB / 1.272 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.8047, allocations: 192.8 kB / 1.272 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.8048, allocations: 38 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.8048, allocations: 4 kB / 1.272 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.8052, allocations: 173.5 kB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.8052, allocations: 0 / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.8052, allocations: 4 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.8052, allocations: 0 / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.8058, allocations: 239.7 kB / 1.273 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.8067, allocations: 0.5116 MB / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.8072, allocations: 234.3 kB / 1.273 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.8075, allocations: 124.8 kB / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.8075, allocations: 4.062 kB / 1.273 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.8075, allocations: 38.5 kB / 1.273 GB, free: 252 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.8075, allocations: 0 / 1.273 GB, free: 252 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0009728/0.8085, allocations: 361.4 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.8086, allocations: 59.34 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.8087, allocations: 168.6 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.8087, allocations: 25.7 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.8088, allocations: 104.1 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.8088, allocations: 7.891 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.8089, allocations: 21.7 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.809, allocations: 322.8 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.8093, allocations: 111.9 kB / 1.275 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.8096, allocations: 111.9 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.8101, allocations: 208.6 kB / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8101, allocations: 0 / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006015/0.8107, allocations: 257.4 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8107, allocations: 4 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.8107, allocations: 0 / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8107, allocations: 0 / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.8109, allocations: 43.92 kB / 1.275 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.8109, allocations: 3.938 kB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.8111, allocations: 39.95 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.8111, allocations: 4 kB / 1.275 GB, free: 14.37 MB / 0.9825 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.0001025/0.8112, allocations: 121.8 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.8112, allocations: 11.91 kB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.8113, allocations: 11.81 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.8113, allocations: 0 / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8113, allocations: 7.922 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.8113, allocations: 4 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.8116, allocations: 253.6 kB / 1.276 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8116, allocations: 0 / 1.276 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.8117, allocations: 43.91 kB / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8118, allocations: 0 / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.8118, allocations: 7.984 kB / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8118, allocations: 0 / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8118, allocations: 3.938 kB / 1.276 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.8124, allocations: 351.2 kB / 1.276 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.8125, allocations: 89.06 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.8125, allocations: 0 / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.8127, allocations: 31.94 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.8127, allocations: 3.938 kB / 1.276 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.8127, allocations: 12.02 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001092/0.8128, allocations: 133.6 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8128, allocations: 0 / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002558/0.8131, allocations: 19.94 kB / 1.276 GB, free: 13.19 MB / 0.9825 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.00104/0.8141, allocations: 0.8768 MB / 1.277 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006168/0.8148, allocations: 235.8 kB / 1.277 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8148, allocations: 0 / 1.277 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.8151, allocations: 127.8 kB / 1.277 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.8153, allocations: 9.5 kB / 1.277 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.8187, allocations: 2.339 MB / 1.28 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.8191, allocations: 0.6963 MB / 1.28 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.8192, allocations: 28 kB / 1.28 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.8193, allocations: 31.41 kB / 1.28 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.8193, allocations: 0 / 1.28 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.844, allocations: 2.667 MB / 1.283 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/9.063, allocations: 3.984 kB / 1.283 GB, free: 6.152 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=34.56 --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_2/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: 15.139603293966502]