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.0008276/0.0008276, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000832/0.000832, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9078/0.9078, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.9 MB / 0.6229 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.666e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001967/0.001994, allocations: 1.599 MB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007737/0.002767, allocations: 0.6117 MB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.00282, allocations: 4 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.126e-05/0.002861, allocations: 11.86 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.109e-05/0.002942, allocations: 3.828 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.003253, allocations: 67.73 kB / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.968e-05/0.003352, allocations: 59.77 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.003439, allocations: 8 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.003557, allocations: 43.83 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.003608, allocations: 11.98 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.003622, allocations: 4 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.003734, allocations: 59.88 kB / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.003788, allocations: 19.97 kB / 0.9847 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.003815, allocations: 19.92 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.003967, allocations: 107.6 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003969, allocations: 7.938 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.253e-06/0.00397, allocations: 4 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003974, allocations: 0 / 0.9848 GB, free: 15.4 MB / 0.948 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.0004439/0.004418, allocations: 329.8 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.00445, allocations: 8.031 kB / 0.9851 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005267/0.004976, allocations: 336.2 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.00516, allocations: 158.2 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.005222, allocations: 63.95 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.005234, allocations: 4.375 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.005491, allocations: 213.7 kB / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.005499, allocations: 0 / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.00551, allocations: 0 / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.005514, allocations: 0 / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.00582, allocations: 291.6 kB / 0.9861 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.00635, allocations: 0.5035 MB / 0.9866 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.006662, allocations: 286.2 kB / 0.9869 GB, free: 13.13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.006813, allocations: 144.8 kB / 0.987 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.006829, allocations: 3.938 kB / 0.987 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.006847, allocations: 34.56 kB / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.006848, allocations: 0 / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0005603/0.007408, allocations: 461.1 kB / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.007437, allocations: 55.41 kB / 0.9876 GB, free: 12.42 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.00754, allocations: 155.9 kB / 0.9877 GB, free: 12.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.007553, allocations: 25.7 kB / 0.9877 GB, free: 12.22 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.007599, allocations: 96.12 kB / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.007614, allocations: 3.953 kB / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.007656, allocations: 41.67 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.007735, allocations: 330.8 kB / 0.9882 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.007887, allocations: 139.8 kB / 0.9883 GB, free: 11.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.008033, allocations: 143.7 kB / 0.9885 GB, free: 11.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.008308, allocations: 248.6 kB / 0.9887 GB, free: 11.22 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.00831, allocations: 3.938 kB / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000333/0.008643, allocations: 317.3 kB / 0.989 GB, free: 10.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.008656, allocations: 8 kB / 0.989 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.008659, allocations: 4.031 kB / 0.989 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.008669, allocations: 0 / 0.989 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.008786, allocations: 79.81 kB / 0.9891 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.00879, allocations: 0 / 0.9891 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.008864, allocations: 55.86 kB / 0.9891 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.008913, allocations: 75.84 kB / 0.9892 GB, free: 10.68 MB / 0.948 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.378e-05/0.008977, allocations: 113.8 kB / 0.9893 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.008996, allocations: 11.91 kB / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.009013, allocations: 15.91 kB / 0.9894 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.009014, allocations: 0 / 0.9894 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.009018, allocations: 0 / 0.9894 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.00902, allocations: 0 / 0.9894 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.009169, allocations: 212.9 kB / 0.9896 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.00917, allocations: 0 / 0.9896 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.009259, allocations: 75.89 kB / 0.9896 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.009261, allocations: 0 / 0.9896 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.009276, allocations: 15.97 kB / 0.9896 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.009276, allocations: 0 / 0.9896 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009277, allocations: 0 / 0.9896 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.009637, allocations: 423 kB / 0.99 GB, free: 9.777 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.009648, allocations: 7.953 kB / 0.9901 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.009661, allocations: 4.031 kB / 0.9901 GB, free: 9.766 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.009751, allocations: 55.86 kB / 0.9901 GB, free: 9.711 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.009776, allocations: 3.984 kB / 0.9901 GB, free: 9.707 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.009821, allocations: 67.84 kB / 0.9902 GB, free: 9.641 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.009877, allocations: 125.1 kB / 0.9903 GB, free: 9.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.009877, allocations: 0 / 0.9903 GB, free: 9.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001694/0.01005, allocations: 23.94 kB / 0.9903 GB, free: 9.496 MB / 0.948 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.0001102/0.01016, allocations: 103.8 kB / 0.9904 GB, free: 9.383 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.01052, allocations: 299.6 kB / 0.9907 GB, free: 9.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01052, allocations: 0 / 0.9907 GB, free: 9.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.01068, allocations: 147.8 kB / 0.9908 GB, free: 8.945 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.01084, allocations: 8.125 kB / 0.9909 GB, free: 8.938 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.01126, allocations: 334.2 kB / 0.9912 GB, free: 8.578 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.996e-05/0.01132, allocations: 79.59 kB / 0.9913 GB, free: 8.477 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.01139, allocations: 44.44 kB / 0.9913 GB, free: 8.434 MB / 0.948 GB Notification: Performance of SimCode: time 3.7e-07/0.01139, allocations: 4 kB / 0.9913 GB, free: 8.43 MB / 0.948 GB Notification: Performance of Templates: time 0.002308/0.0137, allocations: 1.792 MB / 0.993 GB, free: 6.633 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] 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/jenkins/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: 7.257040056400001]