Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0014/0.0014, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.001625/0.001625, allocations: 160.6 kB / 22.45 MB, free: 5.375 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.514/1.514, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.786/2.786, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.84e-05/4.032e-05, allocations: 5.094 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004405/0.004446, allocations: 1.966 MB / 0.9529 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.006295, allocations: 0.7168 MB / 0.9536 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.00651, allocations: 7.938 kB / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.006689, allocations: 15.8 kB / 0.9536 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.006821, allocations: 19.75 kB / 0.9536 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.007437, allocations: 107.7 kB / 0.9538 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.007789, allocations: 151.5 kB / 0.9539 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.008016, allocations: 61.02 kB / 0.954 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.008323, allocations: 95.72 kB / 0.954 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.008462, allocations: 51.81 kB / 0.9541 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.008512, allocations: 16 kB / 0.9541 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.008735, allocations: 63.88 kB / 0.9542 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.008882, allocations: 75.75 kB / 0.9542 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/0.008965, allocations: 51.83 kB / 0.9543 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.009546, allocations: 283 kB / 0.9546 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.009549, allocations: 0 / 0.9546 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.009551, allocations: 0 / 0.9546 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.00956, allocations: 0 / 0.9546 GB, free: 7.852 MB / 0.8575 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.00131/0.01087, allocations: 0.4892 MB / 0.955 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.01092, allocations: 8.031 kB / 0.955 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.01307, allocations: 0.6401 MB / 0.9557 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.01359, allocations: 272.9 kB / 0.9559 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.01385, allocations: 139.6 kB / 0.9561 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.01389, allocations: 12.38 kB / 0.9561 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.01498, allocations: 452.2 kB / 0.9565 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.015, allocations: 192 / 0.9565 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.01504, allocations: 12.12 kB / 0.9565 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.01504, allocations: 0 / 0.9565 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.01667, allocations: 0.6525 MB / 0.9572 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.01872, allocations: 0.9938 MB / 0.9581 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/0.01954, allocations: 342.2 kB / 0.9585 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007502/0.02029, allocations: 324.4 kB / 0.9588 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.02031, allocations: 4 kB / 0.9588 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.02035, allocations: 34.5 kB / 0.9588 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.02035, allocations: 0 / 0.9588 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.002449/0.0228, allocations: 0.9652 MB / 0.9597 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.02286, allocations: 55.34 kB / 0.9598 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.02326, allocations: 297.8 kB / 0.9601 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.02329, allocations: 33.64 kB / 0.9601 GB, free: 2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.02359, allocations: 160 kB / 0.9603 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.02363, allocations: 15.86 kB / 0.9603 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.02376, allocations: 77.62 kB / 0.9604 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003015/0.02406, allocations: 330.8 kB / 0.9607 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007089/0.02477, allocations: 311.6 kB / 0.961 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/0.02546, allocations: 303.6 kB / 0.9613 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.02683, allocations: 0.5318 MB / 0.9618 GB, free: 280 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02684, allocations: 4 kB / 0.9618 GB, free: 276 kB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001622/0.02846, allocations: 0.6726 MB / 0.9624 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.02848, allocations: 4 kB / 0.9624 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.02849, allocations: 0 / 0.9624 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.02851, allocations: 0 / 0.9624 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.02903, allocations: 171.6 kB / 0.9626 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.02904, allocations: 4 kB / 0.9626 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.02944, allocations: 123.7 kB / 0.9627 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.02962, allocations: 135.8 kB / 0.9629 GB, free: 15.16 MB / 0.8731 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.000196/0.02981, allocations: 145.8 kB / 0.963 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.02989, allocations: 27.73 kB / 0.963 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.02995, allocations: 25.77 kB / 0.963 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.02995, allocations: 0 / 0.963 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.02996, allocations: 0 / 0.963 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.02997, allocations: 7.969 kB / 0.9631 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.03054, allocations: 352.3 kB / 0.9634 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.03055, allocations: 3.984 kB / 0.9634 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.03104, allocations: 163.7 kB / 0.9635 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.03104, allocations: 4 kB / 0.9636 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.03109, allocations: 23.91 kB / 0.9636 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.03109, allocations: 0 / 0.9636 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.03109, allocations: 3.984 kB / 0.9636 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.03274, allocations: 0.7603 MB / 0.9643 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.03279, allocations: 19.86 kB / 0.9643 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.03284, allocations: 7.875 kB / 0.9643 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.03325, allocations: 123.7 kB / 0.9645 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.03332, allocations: 7.984 kB / 0.9645 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.03352, allocations: 139.8 kB / 0.9646 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000306/0.03382, allocations: 217.2 kB / 0.9648 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.03382, allocations: 0 / 0.9648 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003678/0.03419, allocations: 39.89 kB / 0.9649 GB, free: 13.06 MB / 0.8731 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.0002233/0.03442, allocations: 107.2 kB / 0.965 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.03603, allocations: 0.6476 MB / 0.9656 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.03603, allocations: 0 / 0.9656 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.0368, allocations: 343.5 kB / 0.9659 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.03714, allocations: 16.36 kB / 0.9659 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.03872, allocations: 0.6435 MB / 0.9666 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.0389, allocations: 144.7 kB / 0.9667 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005864/0.03948, allocations: 380.8 kB / 0.9671 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.03968, allocations: 64.42 kB / 0.9671 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of SimCode: time 8.41e-07/0.03968, allocations: 0 / 0.9671 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.008149/0.04783, allocations: 2.928 MB / 0.97 GB, free: 7.766 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.47577315941453]