Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 108.7 kB / 16.37 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 193.1 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 66.02 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3082, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004529/0.3128, allocations: 1.987 MB / 0.9531 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3144, allocations: 0.6788 MB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3146, allocations: 7.938 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.3147, allocations: 15.8 kB / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.3149, allocations: 27.75 kB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.3153, allocations: 87.83 kB / 0.9539 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.3155, allocations: 155.5 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.3157, allocations: 80.59 kB / 0.9541 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3158, allocations: 59.78 kB / 0.9542 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3159, allocations: 75.55 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.316, allocations: 16 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.3161, allocations: 55.95 kB / 0.9543 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.911e-05/0.3162, allocations: 67.81 kB / 0.9544 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.3163, allocations: 91.36 kB / 0.9544 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.3167, allocations: 279 kB / 0.9547 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3167, allocations: 0 / 0.9547 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3167, allocations: 0 / 0.9547 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3167, allocations: 0 / 0.9547 GB, free: 4.375 MB / 0.7325 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.0008331/0.3175, allocations: 0.5354 MB / 0.9552 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3176, allocations: 12.03 kB / 0.9552 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.3192, allocations: 419.9 kB / 0.9556 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.3197, allocations: 315.7 kB / 0.9559 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/0.3198, allocations: 72.19 kB / 0.956 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.3198, allocations: 12.36 kB / 0.956 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.3206, allocations: 383.3 kB / 0.9564 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3207, allocations: 7.938 kB / 0.9564 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.3207, allocations: 4 kB / 0.9564 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3207, allocations: 8 kB / 0.9564 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.3219, allocations: 0.5314 MB / 0.9569 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.3236, allocations: 1.002 MB / 0.9579 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.3243, allocations: 302.2 kB / 0.9582 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.3248, allocations: 268.6 kB / 0.9585 GB, free: 384 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3249, allocations: 3.984 kB / 0.9585 GB, free: 380 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3249, allocations: 34.56 kB / 0.9585 GB, free: 336 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.3249, allocations: 0 / 0.9585 GB, free: 336 kB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.001911/0.3268, allocations: 0.7859 MB / 0.9593 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3269, allocations: 59.34 kB / 0.9593 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.3272, allocations: 294.7 kB / 0.9596 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.3272, allocations: 25.7 kB / 0.9596 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.3273, allocations: 152.2 kB / 0.9598 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.3274, allocations: 23.66 kB / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.3275, allocations: 37.67 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3276, allocations: 342.7 kB / 0.9602 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.3282, allocations: 259.8 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.3288, allocations: 255.8 kB / 0.9606 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.3298, allocations: 440.4 kB / 0.9611 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3298, allocations: 0 / 0.9611 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001228/0.331, allocations: 0.536 MB / 0.9616 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3311, allocations: 8 kB / 0.9616 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3311, allocations: 0 / 0.9616 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3311, allocations: 0 / 0.9616 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.3315, allocations: 91.83 kB / 0.9617 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3315, allocations: 0 / 0.9617 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.3318, allocations: 75.86 kB / 0.9618 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3319, allocations: 15.98 kB / 0.9618 GB, free: 12.91 MB / 0.7481 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.000147/0.332, allocations: 143.7 kB / 0.9619 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.3321, allocations: 19.72 kB / 0.9619 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.3321, allocations: 25.7 kB / 0.9619 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3321, allocations: 0 / 0.9619 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3321, allocations: 0 / 0.9619 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3321, allocations: 3.938 kB / 0.962 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.3326, allocations: 436.4 kB / 0.9624 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3326, allocations: 3.984 kB / 0.9624 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.333, allocations: 99.77 kB / 0.9625 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.333, allocations: 0 / 0.9625 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3331, allocations: 3.984 kB / 0.9625 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3331, allocations: 4 kB / 0.9625 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3331, allocations: 0 / 0.9625 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3343, allocations: 0.6315 MB / 0.9631 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/0.3344, allocations: 96.91 kB / 0.9632 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.3345, allocations: 4 kB / 0.9632 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.3348, allocations: 79.84 kB / 0.9633 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.3349, allocations: 0 / 0.9633 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.3349, allocations: 11.98 kB / 0.9633 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002127/0.3351, allocations: 221.9 kB / 0.9635 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.402e-06/0.3351, allocations: 4 kB / 0.9635 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003114/0.3355, allocations: 43.78 kB / 0.9635 GB, free: 11.01 MB / 0.7481 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.0001663/0.3356, allocations: 107.2 kB / 0.9636 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.3369, allocations: 0.5235 MB / 0.9641 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3369, allocations: 0 / 0.9641 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.3375, allocations: 279.7 kB / 0.9644 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3378, allocations: 16.5 kB / 0.9644 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3389, allocations: 0.5953 MB / 0.965 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3393, allocations: 0.7435 MB / 0.9657 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.3395, allocations: 57.42 kB / 0.9658 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3396, allocations: 27.39 kB / 0.9658 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.3396, allocations: 0 / 0.9658 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of Templates: time 0.005795/0.3454, allocations: 2.839 MB / 0.9686 GB, free: 5.766 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches