Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 100 kB / 15.05 MB, free: 1.105 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.001014/0.001015, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.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.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004185, allocations: 8 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7469, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001526/0.7485, allocations: 1.148 MB / 0.9546 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.7498, allocations: 0.7234 MB / 0.9553 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.7499, allocations: 1.094 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.75, allocations: 3.938 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.75, allocations: 6.438 kB / 0.9554 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.7506, allocations: 125 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.7507, allocations: 15.92 kB / 0.9555 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.7508, allocations: 10.2 kB / 0.9555 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.7508, allocations: 14.73 kB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.7509, allocations: 17.53 kB / 0.9555 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.7509, allocations: 2.125 kB / 0.9555 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.7512, allocations: 168.5 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.7512, allocations: 5.125 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.7513, allocations: 35.61 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.7515, allocations: 135.1 kB / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.7515, allocations: 0 / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7515, allocations: 0 / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.7515, allocations: 3.938 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004968/0.752, allocations: 424.9 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.7521, allocations: 13.72 kB / 0.9563 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.7521, allocations: 6.484 kB / 0.9563 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.7522, allocations: 178.4 kB / 0.9565 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.7522, allocations: 1.344 kB / 0.9565 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7523, allocations: 10.33 kB / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.7525, allocations: 71.39 kB / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7525, allocations: 1.438 kB / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.7525, allocations: 0 / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7525, allocations: 1.375 kB / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.7526, allocations: 63.75 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.753, allocations: 273.5 kB / 0.9569 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.7532, allocations: 58.33 kB / 0.9569 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.7532, allocations: 5.281 kB / 0.9569 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.7532, allocations: 31.59 kB / 0.957 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.7532, allocations: 0 / 0.957 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004183/0.7536, allocations: 275.4 kB / 0.9572 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.7537, allocations: 79.52 kB / 0.9573 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.7538, allocations: 130.4 kB / 0.9574 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.7538, allocations: 26.67 kB / 0.9574 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.7538, allocations: 87.23 kB / 0.9575 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.7538, allocations: 8.891 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/0.7539, allocations: 1.094 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.7539, allocations: 316.7 kB / 0.9578 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.754, allocations: 57.97 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.673e-05/0.7541, allocations: 66.67 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.7543, allocations: 111.6 kB / 0.9581 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7543, allocations: 0 / 0.9581 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002657/0.7545, allocations: 228.3 kB / 0.9583 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.7546, allocations: 68.23 kB / 0.9583 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7546, allocations: 0 / 0.9583 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.7546, allocations: 0.8438 kB / 0.9584 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.7547, allocations: 7.312 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7547, allocations: 5.297 kB / 0.9584 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.7548, allocations: 14.27 kB / 0.9584 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.7548, allocations: 7 kB / 0.9584 GB, free: 3.961 MB / 0.7169 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.762e-05/0.7549, allocations: 142.1 kB / 0.9585 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.7549, allocations: 6.984 kB / 0.9585 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.7549, allocations: 6.625 kB / 0.9585 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.755, allocations: 0 / 0.9585 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.755, allocations: 4 kB / 0.9585 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.755, allocations: 8.859 kB / 0.9585 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.7551, allocations: 175.2 kB / 0.9587 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7551, allocations: 0 / 0.9587 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.7551, allocations: 4.188 kB / 0.9587 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7552, allocations: 0 / 0.9587 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7552, allocations: 1.312 kB / 0.9587 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7552, allocations: 0 / 0.9587 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7552, allocations: 1.188 kB / 0.9587 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.7554, allocations: 262.1 kB / 0.959 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.7555, allocations: 87.09 kB / 0.959 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.7555, allocations: 2.188 kB / 0.9591 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.7556, allocations: 5.375 kB / 0.9591 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.7557, allocations: 6.359 kB / 0.9591 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.7557, allocations: 1.906 kB / 0.9591 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.7558, allocations: 102.5 kB / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7558, allocations: 0 / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003564/0.7561, allocations: 57.11 kB / 0.9592 GB, free: 3.156 MB / 0.7169 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002705/0.7564, allocations: 156.3 kB / 0.9594 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.7568, allocations: 244.5 kB / 0.9596 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7568, allocations: 4 kB / 0.9596 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.7569, allocations: 104.5 kB / 0.9597 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.7571, allocations: 6.5 kB / 0.9597 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.7574, allocations: 174.2 kB / 0.9599 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.7576, allocations: 0.6917 MB / 0.9606 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.562e-05/0.7576, allocations: 5.438 kB / 0.9606 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.7576, allocations: 8.812 kB / 0.9606 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7576, allocations: 0 / 0.9606 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of Templates: time 0.004134/0.7618, allocations: 1.611 MB / 0.9621 GB, free: 1.094 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches