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.0008201/0.0008201, allocations: 80.48 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.0007995/0.0007995, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9117/0.9117, 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.731/1.731, allocations: 377.8 MB / 0.6228 GB, free: 8.668 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.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 2.034e-06/2.034e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.723e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002296/0.002313, allocations: 1.968 MB / 0.9841 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009006/0.003214, allocations: 0.7011 MB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.003311, allocations: 4 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.003437, allocations: 23.67 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.003506, allocations: 27.8 kB / 0.9849 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.003832, allocations: 99.7 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.003974, allocations: 155.5 kB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.004106, allocations: 57.02 kB / 0.9852 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.004242, allocations: 91.78 kB / 0.9853 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.004309, allocations: 51.8 kB / 0.9853 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.004331, allocations: 16 kB / 0.9853 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.004441, allocations: 63.89 kB / 0.9854 GB, free: 14.81 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.196e-05/0.004513, allocations: 75.75 kB / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.004559, allocations: 59.77 kB / 0.9855 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.004806, allocations: 279 kB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004808, allocations: 4 kB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004809, allocations: 0 / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.004812, allocations: 0 / 0.9858 GB, free: 14.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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005756/0.005388, allocations: 493 kB / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.005422, allocations: 11.97 kB / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.006366, allocations: 0.6402 MB / 0.9869 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.006664, allocations: 280.8 kB / 0.9872 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.00675, allocations: 135.6 kB / 0.9873 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.006771, allocations: 16.31 kB / 0.9873 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.007262, allocations: 451.6 kB / 0.9877 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.007271, allocations: 192 / 0.9877 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.00729, allocations: 8.125 kB / 0.9877 GB, free: 12.31 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.007295, allocations: 8 kB / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.007978, allocations: 0.644 MB / 0.9884 GB, free: 11.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.008978, allocations: 1.005 MB / 0.9894 GB, free: 10.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.009489, allocations: 342.1 kB / 0.9897 GB, free: 10.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.009825, allocations: 320.6 kB / 0.99 GB, free: 9.961 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.009842, allocations: 0 / 0.99 GB, free: 9.961 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.009867, allocations: 46.48 kB / 0.99 GB, free: 9.906 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.009868, allocations: 0 / 0.99 GB, free: 9.906 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.001083/0.01095, allocations: 0.9729 MB / 0.991 GB, free: 8.926 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.01098, allocations: 51.41 kB / 0.991 GB, free: 8.863 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.01119, allocations: 293.9 kB / 0.9913 GB, free: 8.574 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.01121, allocations: 25.7 kB / 0.9913 GB, free: 8.543 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.01128, allocations: 155.9 kB / 0.9915 GB, free: 8.387 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.01131, allocations: 19.8 kB / 0.9915 GB, free: 8.367 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.01138, allocations: 73.62 kB / 0.9916 GB, free: 8.289 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.01146, allocations: 338.8 kB / 0.9919 GB, free: 7.949 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.01178, allocations: 307.6 kB / 0.9922 GB, free: 7.648 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.01208, allocations: 315.6 kB / 0.9925 GB, free: 7.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.01265, allocations: 0.5314 MB / 0.993 GB, free: 6.805 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01266, allocations: 0 / 0.993 GB, free: 6.805 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006874/0.01334, allocations: 0.6725 MB / 0.9937 GB, free: 6.125 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01336, allocations: 11.12 kB / 0.9937 GB, free: 6.117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01336, allocations: 0 / 0.9937 GB, free: 6.117 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01337, allocations: 0 / 0.9937 GB, free: 6.117 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.01358, allocations: 163.7 kB / 0.9938 GB, free: 5.957 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01359, allocations: 4.531 kB / 0.9938 GB, free: 5.953 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.01374, allocations: 115.7 kB / 0.9939 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.01383, allocations: 135.8 kB / 0.9941 GB, free: 5.707 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: 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 9.425e-05/0.01392, allocations: 149.7 kB / 0.9942 GB, free: 5.551 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.01395, allocations: 27.8 kB / 0.9942 GB, free: 5.523 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.01398, allocations: 25.77 kB / 0.9943 GB, free: 5.492 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01398, allocations: 0 / 0.9943 GB, free: 5.492 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01399, allocations: 4 kB / 0.9943 GB, free: 5.488 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01399, allocations: 3.984 kB / 0.9943 GB, free: 5.484 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.01424, allocations: 348.4 kB / 0.9946 GB, free: 5.113 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.01424, allocations: 0 / 0.9946 GB, free: 5.113 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.01443, allocations: 163.6 kB / 0.9948 GB, free: 4.953 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.01443, allocations: 4 kB / 0.9948 GB, free: 4.949 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.01445, allocations: 35.89 kB / 0.9948 GB, free: 4.914 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.01445, allocations: 0 / 0.9948 GB, free: 4.914 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01445, allocations: 0 / 0.9948 GB, free: 4.914 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.01517, allocations: 0.7603 MB / 0.9955 GB, free: 4.137 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.01519, allocations: 27.84 kB / 0.9956 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.01521, allocations: 7.938 kB / 0.9956 GB, free: 4.102 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.01538, allocations: 111.8 kB / 0.9957 GB, free: 3.992 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.01541, allocations: 11.98 kB / 0.9957 GB, free: 3.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-05/0.0155, allocations: 139.7 kB / 0.9958 GB, free: 3.844 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001289/0.01563, allocations: 213.2 kB / 0.996 GB, free: 3.637 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01563, allocations: 0 / 0.996 GB, free: 3.637 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001945/0.01582, allocations: 43.89 kB / 0.9961 GB, free: 3.594 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: 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.0001124/0.01593, allocations: 107.2 kB / 0.9962 GB, free: 3.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.01678, allocations: 0.6398 MB / 0.9968 GB, free: 2.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01678, allocations: 4 kB / 0.9968 GB, free: 2.836 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.01712, allocations: 343.5 kB / 0.9971 GB, free: 2.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.01732, allocations: 16.5 kB / 0.9971 GB, free: 2.484 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.01804, allocations: 0.6763 MB / 0.9978 GB, free: 1.777 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.781e-05/0.01813, allocations: 136.7 kB / 0.9979 GB, free: 1.621 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.01826, allocations: 88.38 kB / 0.998 GB, free: 1.535 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.01826, allocations: 0 / 0.998 GB, free: 1.535 MB / 0.948 GB Notification: Performance of Templates: time 0.003704/0.02196, allocations: 3.933 MB / 1.002 GB, free: 13.6 MB / 0.9636 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: 7.725529121235013]