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.001693/0.001693, allocations: 111 kB / 16.46 MB, free: 6.453 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.002025/0.002025, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.419/1.419, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.084/3.084, allocations: 0.49 GB / 0.7916 GB, free: 33.24 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.001965/0.001965, allocations: 71.73 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003083/0.3552, allocations: 1.595 MB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3564, allocations: 0.6506 MB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.3564, allocations: 0 / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.571e-05/0.3565, allocations: 11.92 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.3566, allocations: 7.875 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3569, allocations: 55.88 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.357, allocations: 55.78 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.3571, allocations: 15.98 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3572, allocations: 31.84 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.3573, allocations: 23.86 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3573, allocations: 8 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3575, allocations: 59.94 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.3575, allocations: 19.92 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.3576, allocations: 35.73 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3578, allocations: 103.8 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3578, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3578, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3578, allocations: 0 / 1.323 GB, free: 0.5977 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.0005643/0.3584, allocations: 398.9 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3584, allocations: 19.92 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.3584, allocations: 34.75 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009904/0.3594, allocations: 220.5 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3597, allocations: 215.2 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/0.3598, allocations: 42 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.3598, allocations: 8 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.3602, allocations: 173.4 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3602, allocations: 0 / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3602, allocations: 8 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3602, allocations: 0 / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.3609, allocations: 235.8 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.3617, allocations: 0.5077 MB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.3624, allocations: 242.3 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.3627, allocations: 116.8 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3627, allocations: 4 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3627, allocations: 30.56 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3627, allocations: 0 / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.001052/0.3638, allocations: 373.4 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3638, allocations: 55.34 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.364, allocations: 173.9 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.364, allocations: 25.7 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3641, allocations: 100.1 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.3641, allocations: 7.953 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.3642, allocations: 29.72 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3643, allocations: 318.8 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.3646, allocations: 111.9 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.3649, allocations: 115.9 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.3655, allocations: 196.7 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3655, allocations: 0 / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006516/0.3661, allocations: 253.4 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3661, allocations: 4 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3661, allocations: 3.984 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3661, allocations: 7.875 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.3664, allocations: 51.95 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3664, allocations: 7.875 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3665, allocations: 35.94 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.3666, allocations: 3.984 kB / 1.327 GB, free: 12.3 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.0001076/0.3667, allocations: 117.8 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.3667, allocations: 15.91 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.3667, allocations: 11.88 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3667, allocations: 0 / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.3667, allocations: 3.938 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3667, allocations: 0 / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.367, allocations: 249.7 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.367, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3672, allocations: 47.91 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3672, allocations: 0 / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3673, allocations: 0 / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3673, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.3673, allocations: 7.922 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.368, allocations: 347.2 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.368, allocations: 89.05 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3681, allocations: 0 / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3683, allocations: 39.97 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.3683, allocations: 3.938 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3683, allocations: 7.984 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000108/0.3684, allocations: 125.2 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3684, allocations: 0 / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002638/0.3687, allocations: 19.94 kB / 1.328 GB, free: 11.14 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.001085/0.3698, allocations: 0.8919 MB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006531/0.3704, allocations: 235.7 kB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3704, allocations: 0 / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.3707, allocations: 119.9 kB / 1.33 GB, free: 9.879 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.371, allocations: 11.97 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.3745, allocations: 2.355 MB / 1.332 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3749, allocations: 0.6963 MB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.375, allocations: 27.98 kB / 1.333 GB, free: 6.684 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.3751, allocations: 35.41 kB / 1.333 GB, free: 6.652 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3751, allocations: 0 / 1.333 GB, free: 6.652 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.4043, allocations: 2.687 MB / 1.335 GB, free: 4.059 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.239, allocations: 1.828 kB / 1.335 GB, free: 4.059 MB / 1.029 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.559978443896398]