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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001865/0.001865, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001977/0.001977, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.528/2.528, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 71.83 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.8371, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002991/0.8401, allocations: 1.44 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.8416, allocations: 0.7869 MB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.8417, allocations: 0 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.318e-05/0.8418, allocations: 0 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.8419, allocations: 7.938 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007325/0.8426, allocations: 171.6 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.8427, allocations: 43.97 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.8429, allocations: 7.938 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.8429, allocations: 19.92 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.843, allocations: 15.98 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.843, allocations: 8 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.8434, allocations: 211.6 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.8434, allocations: 7.984 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.8435, allocations: 19.88 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.8438, allocations: 191.6 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8438, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8438, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8438, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 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.0006122/0.8444, allocations: 432.4 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.8445, allocations: 12.03 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.8445, allocations: 4.938 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.8447, allocations: 180.2 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.8447, allocations: 4.312 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.8448, allocations: 4.375 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.845, allocations: 73.98 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.845, allocations: 3.984 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.845, allocations: 0 / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.845, allocations: 0 / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.8451, allocations: 51.97 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.8456, allocations: 276.9 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.8457, allocations: 58.5 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.8458, allocations: 44.91 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.8458, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.8459, allocations: 34.56 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.8459, allocations: 7.938 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003973/0.8463, allocations: 183.2 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.8463, allocations: 85.05 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.8464, allocations: 126.2 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.8465, allocations: 25.7 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.8465, allocations: 88.14 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.8466, allocations: 7.891 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.8466, allocations: 29.73 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8467, allocations: 310.8 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.8468, allocations: 59.95 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/0.847, allocations: 59.97 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.8472, allocations: 193.8 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8472, allocations: 4 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002772/0.8475, allocations: 217.1 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.8475, allocations: 69.27 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8476, allocations: 3.938 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.8476, allocations: 4.031 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.8476, allocations: 8.062 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.8477, allocations: 0 / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.8477, allocations: 15.86 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.8477, allocations: 4 kB / 1.214 GB, free: 7.809 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.8479, allocations: 151.5 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.8479, allocations: 11.91 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.8479, allocations: 7.906 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8479, allocations: 0 / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.8479, allocations: 0 / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.8479, allocations: 0 / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.8481, allocations: 173.6 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8481, allocations: 0 / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.8482, allocations: 4 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8482, allocations: 0 / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.8482, allocations: 4 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.8482, allocations: 7.984 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8482, allocations: 3.984 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.8485, allocations: 249.1 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.8485, allocations: 85.02 kB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.8485, allocations: 0 / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.8486, allocations: 4 kB / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.8487, allocations: 11.98 kB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.8488, allocations: 4.031 kB / 1.215 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.323e-05/0.8488, allocations: 99.31 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8488, allocations: 0 / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003226/0.8492, allocations: 63.92 kB / 1.215 GB, free: 6.828 MB / 0.9356 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 (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.0003637/0.8495, allocations: 147.2 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.8499, allocations: 238.7 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8499, allocations: 0 / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.85, allocations: 111.3 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.8503, allocations: 11.88 kB / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.8507, allocations: 203.1 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.851, allocations: 0.6884 MB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.8511, allocations: 7.438 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.8511, allocations: 4 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of Templates: time 0.003721/0.8548, allocations: 1.494 MB / 1.218 GB, free: 3.84 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches