Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001233/0.001233, allocations: 99.08 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.001508/0.001507, allocations: 177.3 kB / 15.94 MB, free: 220 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.333/1.333, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 11.98 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6009, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001442/0.6023, allocations: 1.15 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.6035, allocations: 0.7261 MB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.6035, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.296e-05/0.6036, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.684e-05/0.6036, allocations: 11.98 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.6041, allocations: 119.7 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.6042, allocations: 19.98 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.22e-05/0.6043, allocations: 7.969 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.6043, allocations: 15.94 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.6044, allocations: 23.91 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.6044, allocations: 4 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.6046, allocations: 159.8 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.6047, allocations: 8 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.6047, allocations: 33.64 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.605, allocations: 127.8 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.605, allocations: 0 / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.605, allocations: 0 / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.605, allocations: 0 / 1.023 GB, free: 14.67 MB / 0.7794 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.0005823/0.6056, allocations: 436.5 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.6057, allocations: 11.98 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.6057, allocations: 4 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.6058, allocations: 174.9 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6058, allocations: 3.953 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.6059, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.6061, allocations: 77.59 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.6061, allocations: 3.984 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.6061, allocations: 4 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6061, allocations: 4 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.6062, allocations: 51.97 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.6066, allocations: 276.9 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.6067, allocations: 62.55 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.6067, allocations: 3.938 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.6068, allocations: 34.59 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.6068, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004076/0.6072, allocations: 268.3 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.6072, allocations: 85.11 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.6074, allocations: 125.9 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.6074, allocations: 25.7 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.6074, allocations: 88.14 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.6075, allocations: 3.906 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.6075, allocations: 4 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6077, allocations: 318.8 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.651e-05/0.6078, allocations: 55.97 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.6079, allocations: 71.89 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.608, allocations: 123.3 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.608, allocations: 0 / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002782/0.6083, allocations: 220.9 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.6084, allocations: 65.27 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.6084, allocations: 0 / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6084, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.6085, allocations: 8 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6085, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.6085, allocations: 11.92 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.6086, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 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 0.0001045/0.6087, allocations: 147.5 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.6087, allocations: 7.906 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.6087, allocations: 11.89 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6087, allocations: 4 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6088, allocations: 0 / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.6088, allocations: 0 / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.609, allocations: 177.6 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.609, allocations: 3.953 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.609, allocations: 4 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.609, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.609, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.609, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.609, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.6093, allocations: 249.2 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.6094, allocations: 88.95 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.6094, allocations: 4 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.6095, allocations: 4 kB / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.6096, allocations: 11.98 kB / 1.026 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.6097, allocations: 4.031 kB / 1.026 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.6097, allocations: 95.7 kB / 1.026 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6097, allocations: 0 / 1.026 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003362/0.6101, allocations: 63.98 kB / 1.027 GB, free: 10.83 MB / 0.7794 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.0002563/0.6103, allocations: 155 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.6107, allocations: 243 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6107, allocations: 4 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.6108, allocations: 107.4 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.6109, allocations: 8.828 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.6113, allocations: 172.7 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.6117, allocations: 0.6889 MB / 1.028 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.285e-05/0.6117, allocations: 4 kB / 1.028 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.6117, allocations: 7.438 kB / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of SimCode: time 1.583e-06/0.6117, allocations: 0 / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of Templates: time 0.003971/0.6157, allocations: 1.625 MB / 1.029 GB, free: 7.77 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches