Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001733/0.001733, allocations: 110.7 kB / 16.41 MB, free: 6.453 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.001892/0.001892, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.498/1.498, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9261/0.9281, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003505/0.9317, allocations: 1.988 MB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.933, allocations: 0.6982 MB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.9331, allocations: 0 / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.9333, allocations: 19.8 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.943e-05/0.9334, allocations: 27.73 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.9338, allocations: 95.77 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.934, allocations: 139.7 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.9342, allocations: 80.61 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.9344, allocations: 71.64 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.9345, allocations: 63.69 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.9345, allocations: 12 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.9347, allocations: 59.95 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.9348, allocations: 75.73 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.9349, allocations: 91.41 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.9353, allocations: 271.3 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9353, allocations: 0 / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9353, allocations: 0 / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.9353, allocations: 0 / 1.171 GB, free: 120 kB / 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.0009158/0.9362, allocations: 0.5373 MB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.9363, allocations: 12.92 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.938, allocations: 428 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.9385, allocations: 315.9 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/0.9386, allocations: 68.19 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.9386, allocations: 12.38 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/0.9395, allocations: 398.9 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9395, allocations: 0 / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.9396, allocations: 8 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.9396, allocations: 0 / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.9409, allocations: 0.5386 MB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.9428, allocations: 1.001 MB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.9436, allocations: 294.3 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/0.9442, allocations: 276.6 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.9443, allocations: 0 / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.9443, allocations: 34.56 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 5.23e-06/0.9444, allocations: 3.984 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.002047/0.9464, allocations: 0.782 MB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.9465, allocations: 51.41 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.9468, allocations: 302.6 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.9469, allocations: 25.7 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.947, allocations: 156.2 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.947, allocations: 23.94 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-05/0.9471, allocations: 41.67 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.9473, allocations: 338.8 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.948, allocations: 255.8 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.9486, allocations: 255.8 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.9497, allocations: 444.4 kB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9498, allocations: 0 / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001328/0.9511, allocations: 0.5327 MB / 1.178 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9511, allocations: 4 kB / 1.178 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9511, allocations: 4 kB / 1.178 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.9511, allocations: 0 / 1.178 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.9516, allocations: 91.83 kB / 1.178 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9516, allocations: 80 / 1.178 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.9519, allocations: 79.81 kB / 1.178 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.952, allocations: 19.97 kB / 1.178 GB, free: 8.629 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.0001592/0.9521, allocations: 133.8 kB / 1.178 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.9522, allocations: 31.8 kB / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.9522, allocations: 25.7 kB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.9523, allocations: 0 / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9523, allocations: 0 / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9523, allocations: 0 / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.9528, allocations: 456.2 kB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9529, allocations: 0 / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.9532, allocations: 99.77 kB / 1.179 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9533, allocations: 0 / 1.179 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.9533, allocations: 3.984 kB / 1.179 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.9533, allocations: 7.938 kB / 1.179 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9533, allocations: 0 / 1.179 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.9547, allocations: 0.6278 MB / 1.179 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.9548, allocations: 101 kB / 1.179 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.9549, allocations: 4 kB / 1.179 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.9552, allocations: 75.86 kB / 1.18 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.9553, allocations: 0 / 1.18 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.9553, allocations: 11.97 kB / 1.18 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002616/0.9556, allocations: 217.9 kB / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9556, allocations: 8 kB / 1.18 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003096/0.9559, allocations: 39.89 kB / 1.18 GB, free: 6.715 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.0001822/0.9561, allocations: 107.2 kB / 1.18 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.9575, allocations: 0.5268 MB / 1.18 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9575, allocations: 0 / 1.18 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000687/0.9582, allocations: 279.7 kB / 1.181 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.9585, allocations: 19.34 kB / 1.181 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.9598, allocations: 0.5946 MB / 1.181 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.9602, allocations: 0.7435 MB / 1.182 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.9604, allocations: 57.42 kB / 1.182 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.9606, allocations: 27.39 kB / 1.182 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9606, allocations: 0 / 1.182 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of Templates: time 0.006647/0.9672, allocations: 2.856 MB / 1.185 GB, free: 1.453 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches