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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001216/0.001217, allocations: 105.6 kB / 15.99 MB, free: 6.359 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.001231/0.001231, allocations: 194 kB / 16.91 MB, free: 6.195 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.2 MB / 0.665 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 65.92 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3107, allocations: 140.4 MB / 0.9498 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00367/0.3144, allocations: 2.041 MB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3157, allocations: 0.671 MB / 0.9524 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.3159, allocations: 0 / 0.9524 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3161, allocations: 19.86 kB / 0.9524 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3162, allocations: 15.86 kB / 0.9525 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.3167, allocations: 75.88 kB / 0.9525 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3169, allocations: 147.6 kB / 0.9527 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.3171, allocations: 94.12 kB / 0.9528 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3173, allocations: 63.66 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.3174, allocations: 67.69 kB / 0.9529 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.3174, allocations: 12 kB / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.3176, allocations: 59.95 kB / 0.953 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3177, allocations: 75.69 kB / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.3178, allocations: 95.41 kB / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.3181, allocations: 195.9 kB / 0.9533 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3181, allocations: 0 / 0.9533 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3181, allocations: 4 kB / 0.9533 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.3181, allocations: 0 / 0.9533 GB, free: 5.527 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.0008791/0.319, allocations: 0.5335 MB / 0.9538 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.319, allocations: 12.03 kB / 0.9538 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.3208, allocations: 423.9 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.3212, allocations: 311.7 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.296e-05/0.3213, allocations: 72.12 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.3214, allocations: 12.38 kB / 0.9546 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.3223, allocations: 384.9 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3223, allocations: 0 / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.3223, allocations: 8 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3223, allocations: 0 / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.3236, allocations: 0.5392 MB / 0.9555 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.3253, allocations: 1.013 MB / 0.9565 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.326, allocations: 294.3 kB / 0.9568 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.3266, allocations: 268.6 kB / 0.9571 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.3266, allocations: 160 / 0.9571 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3267, allocations: 46.48 kB / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3267, allocations: 0 / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.001867/0.3285, allocations: 0.7858 MB / 0.9579 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3286, allocations: 51.41 kB / 0.9579 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.3289, allocations: 298.7 kB / 0.9582 GB, free: 320 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.329, allocations: 25.7 kB / 0.9582 GB, free: 288 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3291, allocations: 152.2 kB / 0.9584 GB, free: 132 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.3292, allocations: 23.66 kB / 0.9584 GB, free: 108 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.3293, allocations: 33.67 kB / 0.9584 GB, free: 68 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3294, allocations: 338.8 kB / 0.9587 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.33, allocations: 259.8 kB / 0.959 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.3306, allocations: 259.7 kB / 0.9592 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.3316, allocations: 448.3 kB / 0.9597 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3316, allocations: 0 / 0.9597 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001229/0.3329, allocations: 0.5282 MB / 0.9602 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3329, allocations: 4 kB / 0.9602 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3329, allocations: 4 kB / 0.9602 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3329, allocations: 3.938 kB / 0.9602 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.3333, allocations: 91.83 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3334, allocations: 0.5469 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.3337, allocations: 71.86 kB / 0.9604 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.3337, allocations: 11.98 kB / 0.9604 GB, free: 14.06 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.0001505/0.3339, allocations: 147.7 kB / 0.9605 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.3339, allocations: 23.72 kB / 0.9605 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.334, allocations: 21.7 kB / 0.9605 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.334, allocations: 0 / 0.9605 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.334, allocations: 0 / 0.9605 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.334, allocations: 4 kB / 0.9606 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.3345, allocations: 440.4 kB / 0.961 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3345, allocations: 0 / 0.961 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.3349, allocations: 91.83 kB / 0.9611 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3349, allocations: 7.922 kB / 0.9611 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.3349, allocations: 11.98 kB / 0.9611 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3349, allocations: 0 / 0.9611 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3349, allocations: 0 / 0.9611 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.3362, allocations: 0.6354 MB / 0.9617 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.3363, allocations: 100.9 kB / 0.9618 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.3363, allocations: 4 kB / 0.9618 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.3367, allocations: 71.86 kB / 0.9619 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.3368, allocations: 4 kB / 0.9619 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3368, allocations: 15.98 kB / 0.9619 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002019/0.337, allocations: 217.9 kB / 0.9621 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.3e-07/0.337, allocations: 0 / 0.9621 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003283/0.3373, allocations: 39.84 kB / 0.9621 GB, free: 12.16 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.0001799/0.3375, allocations: 103.2 kB / 0.9622 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.3388, allocations: 0.5307 MB / 0.9628 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3388, allocations: 0 / 0.9628 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.3394, allocations: 279.7 kB / 0.963 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3397, allocations: 20.5 kB / 0.963 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.341, allocations: 0.6903 MB / 0.9637 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3413, allocations: 0.7512 MB / 0.9644 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.3415, allocations: 35.39 kB / 0.9645 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.3415, allocations: 0 / 0.9645 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of Templates: time 0.007412/0.3489, allocations: 3.656 MB / 0.968 GB, free: 6.039 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 -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