Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001381/0.001381, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.00139/0.00139, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 443.5 MB / 0.7304 GB, free: 14.02 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 75.89 kB / 1.059 GB, free: 1.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2754, allocations: 160.7 MB / 1.216 GB, free: 12 kB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002783/0.2782, allocations: 1.602 MB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.2792, allocations: 0.6056 MB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.2792, allocations: 0 / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.2793, allocations: 3.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.782e-05/0.2793, allocations: 15.86 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.2796, allocations: 55.81 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.906e-05/0.2797, allocations: 47.86 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.2798, allocations: 11.98 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.667e-05/0.2799, allocations: 31.84 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.2799, allocations: 19.92 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.2799, allocations: 0 / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.2801, allocations: 55.94 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.2801, allocations: 23.92 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.2802, allocations: 27.8 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.2803, allocations: 99.78 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2803, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2803, allocations: 4 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.2803, allocations: 0 / 1.218 GB, free: 13.38 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.0005464/0.2809, allocations: 402.9 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2809, allocations: 8.031 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.281, allocations: 34.75 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008713/0.2818, allocations: 216.5 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.282, allocations: 187.5 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.809e-05/0.2821, allocations: 38 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2821, allocations: 7.938 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.2825, allocations: 169.5 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2825, allocations: 0 / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2825, allocations: 4 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2825, allocations: 3.938 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.2831, allocations: 239.7 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.2839, allocations: 0.5156 MB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.2845, allocations: 234.3 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.2848, allocations: 120.8 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2848, allocations: 4 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.2848, allocations: 30.56 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2848, allocations: 4 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0009697/0.2858, allocations: 365.3 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2858, allocations: 55.34 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.286, allocations: 169.2 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.286, allocations: 25.7 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.2861, allocations: 104.1 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2861, allocations: 3.953 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.2861, allocations: 25.69 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2863, allocations: 322.8 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.2866, allocations: 111.9 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.2868, allocations: 111.9 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.2874, allocations: 204.7 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2874, allocations: 0 / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006108/0.288, allocations: 253.4 kB / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.288, allocations: 4 kB / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.288, allocations: 4.031 kB / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.288, allocations: 0 / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2882, allocations: 47.91 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2882, allocations: 7.875 kB / 1.222 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.2884, allocations: 39.88 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2884, allocations: 7.984 kB / 1.222 GB, free: 9.141 MB / 0.9669 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.0001407/0.2885, allocations: 113.8 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.2886, allocations: 7.953 kB / 1.222 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.2886, allocations: 11.86 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2886, allocations: 0 / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2886, allocations: 3.938 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.2886, allocations: 0 / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.2889, allocations: 261.3 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2889, allocations: 8 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.2891, allocations: 39.92 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.2891, allocations: 0 / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2891, allocations: 11.92 kB / 1.222 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2891, allocations: 0 / 1.222 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2891, allocations: 3.938 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.2897, allocations: 347.2 kB / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.2898, allocations: 97.03 kB / 1.223 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.2898, allocations: 0 / 1.223 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.29, allocations: 35.92 kB / 1.223 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.29, allocations: 3.938 kB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.29, allocations: 4 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000102/0.2901, allocations: 129 kB / 1.223 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2901, allocations: 4 kB / 1.223 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002347/0.2904, allocations: 16 kB / 1.223 GB, free: 7.973 MB / 0.9669 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.0009906/0.2914, allocations: 0.8763 MB / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006081/0.292, allocations: 239.7 kB / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.292, allocations: 0 / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.2923, allocations: 123.9 kB / 1.224 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.2925, allocations: 9.656 kB / 1.224 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.2958, allocations: 2.349 MB / 1.227 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2961, allocations: 0.6924 MB / 1.227 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.017e-05/0.2962, allocations: 31.97 kB / 1.227 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.2963, allocations: 27.42 kB / 1.227 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of SimCode: time 4.2e-07/0.2963, allocations: 0 / 1.227 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.3213, allocations: 2.632 MB / 1.23 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.537, allocations: 0.5 kB / 1.23 GB, free: 0.9531 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable lmtd.y in file Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv. Warning: Get data of variable lmtd.y from file Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.715280170996266]