Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.001773/0.001773, allocations: 79.94 kB / 19.18 MB, free: 2.527 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.002235/0.002235, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.635/1.635, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.872/2.872, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9814 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.881e-05, allocations: 5.656 kB / 0.9815 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003386/0.003415, allocations: 1.95 MB / 0.9834 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.004823, allocations: 0.7129 MB / 0.9841 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.004926, allocations: 7.938 kB / 0.9841 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.005061, allocations: 15.8 kB / 0.9841 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.749e-05/0.005159, allocations: 27.73 kB / 0.9841 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.00557, allocations: 103.7 kB / 0.9842 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.005792, allocations: 155.5 kB / 0.9843 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.00596, allocations: 65 kB / 0.9844 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.006153, allocations: 87.73 kB / 0.9845 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.481e-05/0.006248, allocations: 59.73 kB / 0.9846 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.006284, allocations: 16 kB / 0.9846 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.006441, allocations: 63.89 kB / 0.9846 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.006549, allocations: 75.73 kB / 0.9847 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.006616, allocations: 47.84 kB / 0.9847 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.006987, allocations: 283 kB / 0.985 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.006991, allocations: 3.984 kB / 0.985 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006992, allocations: 0 / 0.985 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.006997, allocations: 0 / 0.985 GB, free: 7.191 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008597/0.007857, allocations: 492.9 kB / 0.9855 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.007891, allocations: 8.031 kB / 0.9855 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.009917, allocations: 0.644 MB / 0.9861 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.01035, allocations: 276.9 kB / 0.9864 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.01051, allocations: 139.6 kB / 0.9865 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.01054, allocations: 4.375 kB / 0.9865 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009704/0.01151, allocations: 456.2 kB / 0.987 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.01152, allocations: 192 / 0.987 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.01155, allocations: 4.125 kB / 0.987 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.01155, allocations: 4 kB / 0.987 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.01299, allocations: 0.6557 MB / 0.9876 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.01483, allocations: 1.005 MB / 0.9886 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.01561, allocations: 338.2 kB / 0.9889 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.01632, allocations: 324.4 kB / 0.9892 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.01634, allocations: 8 kB / 0.9892 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.01638, allocations: 34.5 kB / 0.9893 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.01638, allocations: 0 / 0.9893 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.002276/0.01865, allocations: 0.9731 MB / 0.9902 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.0187, allocations: 55.34 kB / 0.9903 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.01905, allocations: 301.8 kB / 0.9906 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.01909, allocations: 25.7 kB / 0.9906 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.01921, allocations: 151.9 kB / 0.9907 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.01925, allocations: 23.84 kB / 0.9907 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.0194, allocations: 69.64 kB / 0.9908 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.01957, allocations: 334.8 kB / 0.9911 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/0.02028, allocations: 307.6 kB / 0.9914 GB, free: 452 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.02096, allocations: 315.6 kB / 0.9917 GB, free: 136 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.02223, allocations: 0.532 MB / 0.9922 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02224, allocations: 0 / 0.9922 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001532/0.02377, allocations: 0.6725 MB / 0.9929 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.02378, allocations: 8 kB / 0.9929 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.02379, allocations: 3.938 kB / 0.9929 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.0238, allocations: 3.938 kB / 0.9929 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.02429, allocations: 167.7 kB / 0.9931 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.02429, allocations: 0 / 0.9931 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.02466, allocations: 115.7 kB / 0.9932 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.02482, allocations: 139.7 kB / 0.9933 GB, free: 14.48 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001806/0.025, allocations: 141.8 kB / 0.9935 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.02507, allocations: 27.8 kB / 0.9935 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.02512, allocations: 25.77 kB / 0.9935 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.02512, allocations: 0 / 0.9935 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.02512, allocations: 0 / 0.9935 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.02513, allocations: 0 / 0.9935 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.0256, allocations: 356.4 kB / 0.9938 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0256, allocations: 0 / 0.9938 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/0.02605, allocations: 159.7 kB / 0.994 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.02605, allocations: 0 / 0.994 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.02609, allocations: 31.89 kB / 0.994 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.02609, allocations: 4 kB / 0.994 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.0261, allocations: 0 / 0.994 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.02767, allocations: 0.7564 MB / 0.9948 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.02772, allocations: 31.84 kB / 0.9948 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.02776, allocations: 7.938 kB / 0.9948 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.02814, allocations: 115.7 kB / 0.9949 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.0282, allocations: 7.984 kB / 0.9949 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.02837, allocations: 143.7 kB / 0.9951 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000238/0.0286, allocations: 213.2 kB / 0.9953 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.0286, allocations: 0 / 0.9953 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003161/0.02892, allocations: 43.89 kB / 0.9953 GB, free: 12.39 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001939/0.02911, allocations: 103.2 kB / 0.9954 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.03058, allocations: 0.6437 MB / 0.996 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03058, allocations: 0 / 0.996 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007314/0.03131, allocations: 339.6 kB / 0.9964 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.03161, allocations: 16.44 kB / 0.9964 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.03293, allocations: 0.655 MB / 0.997 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.03309, allocations: 140.7 kB / 0.9972 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005273/0.03362, allocations: 384.8 kB / 0.9975 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.03378, allocations: 64.42 kB / 0.9976 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/0.03378, allocations: 0 / 0.9976 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of Templates: time 0.006878/0.04066, allocations: 2.922 MB / 1 GB, free: 7.109 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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: 8.462937578558922]