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.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.001554/0.001554, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002191/0.002191, allocations: 213.9 kB / 22.25 MB, free: 5.078 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.959/2.959, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002042/0.002042, allocations: 65.27 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3652, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003403/0.3686, allocations: 1.625 MB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3699, allocations: 0.6563 MB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.139e-05/0.37, allocations: 3.938 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.8e-05/0.37, allocations: 11.92 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/0.3701, allocations: 3.938 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.3705, allocations: 63.8 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3707, allocations: 51.8 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3708, allocations: 11.98 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.3709, allocations: 31.91 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.371, allocations: 23.86 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.371, allocations: 4 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.3712, allocations: 63.94 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.3713, allocations: 19.92 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.3713, allocations: 35.72 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3715, allocations: 95.2 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3715, allocations: 4 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3716, allocations: 0 / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3716, allocations: 0 / 1.286 GB, free: 9.012 MB / 0.9825 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.0006386/0.3722, allocations: 325.8 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3722, allocations: 12.03 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.3723, allocations: 42.67 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009829/0.3733, allocations: 212.5 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3735, allocations: 158.9 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/0.3736, allocations: 63.7 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.3737, allocations: 4 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.3741, allocations: 165.5 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3741, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3741, allocations: 7.938 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3741, allocations: 4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.3747, allocations: 239.7 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.3756, allocations: 490.9 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.3762, allocations: 230.3 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.3765, allocations: 124.8 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.3765, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.3765, allocations: 38.5 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.605e-06/0.3765, allocations: 3.984 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.001109/0.3776, allocations: 373.3 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.3777, allocations: 55.34 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.3779, allocations: 172 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3779, allocations: 25.7 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.378, allocations: 100.1 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.378, allocations: 7.938 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.378, allocations: 21.73 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3782, allocations: 322.8 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.3785, allocations: 115.9 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.3787, allocations: 115.9 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.3793, allocations: 196.6 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3793, allocations: 4 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000614/0.3799, allocations: 253.4 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3799, allocations: 11.98 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3799, allocations: 3.938 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3799, allocations: 0 / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3801, allocations: 43.95 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3801, allocations: 3.938 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3803, allocations: 35.94 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3803, allocations: 3.984 kB / 1.29 GB, free: 4.902 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.000106/0.3804, allocations: 121.8 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.3804, allocations: 7.953 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.3805, allocations: 15.97 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3805, allocations: 3.938 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3805, allocations: 3.938 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3805, allocations: 0 / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.3808, allocations: 224.7 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3808, allocations: 0 / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.381, allocations: 47.91 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.381, allocations: 4 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.381, allocations: 0 / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.381, allocations: 0 / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.381, allocations: 11.92 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.3817, allocations: 351.2 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.3817, allocations: 11.94 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3817, allocations: 0 / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3819, allocations: 35.97 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.382, allocations: 3.938 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.382, allocations: 7.984 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001115/0.3821, allocations: 130.5 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3821, allocations: 3.938 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002629/0.3824, allocations: 23.92 kB / 1.291 GB, free: 3.848 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.001092/0.3835, allocations: 0.8802 MB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006319/0.3841, allocations: 227.8 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3841, allocations: 0 / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.3844, allocations: 123.8 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3846, allocations: 15.94 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.3882, allocations: 2.339 MB / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3886, allocations: 0.6963 MB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.487e-05/0.3887, allocations: 27.75 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.3888, allocations: 31.41 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/0.3888, allocations: 0 / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.4194, allocations: 2.793 MB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 10.81 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.74451467790641]