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.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00752/0.007521, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001872/0.001872, allocations: 196.3 kB / 16.67 MB, free: 5.52 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.003/2.003, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6634/0.6646, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002167/0.6668, allocations: 1.436 MB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.6678, allocations: 0.7802 MB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.6678, allocations: 0 / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.675e-05/0.6679, allocations: 9.656 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.668, allocations: 1.828 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.6685, allocations: 170.5 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.6686, allocations: 55.48 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.69e-05/0.6687, allocations: 8.062 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.6687, allocations: 14.31 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.356e-05/0.6688, allocations: 21.02 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.6688, allocations: 4.188 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.6691, allocations: 198.9 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.6692, allocations: 10.33 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.6692, allocations: 22.2 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.6695, allocations: 200.2 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6695, allocations: 4 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6695, allocations: 0 / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.6695, allocations: 1.438 kB / 1.09 GB, free: 3.52 MB / 0.8575 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.0003512/0.6699, allocations: 434 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.6699, allocations: 10.64 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.066e-05/0.6699, allocations: 30.75 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.67, allocations: 4.344 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.328e-05/0.67, allocations: 173.6 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.6701, allocations: 5.188 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.6701, allocations: 6.188 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.6702, allocations: 77.28 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.6703, allocations: 4.969 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.6703, allocations: 0 / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.6703, allocations: 0.7812 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.6704, allocations: 45.92 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.6707, allocations: 274.7 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.6708, allocations: 60.61 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.6709, allocations: 45.62 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.6709, allocations: 0.75 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.6709, allocations: 35.41 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.6709, allocations: 0.8125 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003566/0.6713, allocations: 187 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.6713, allocations: 84.22 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.6714, allocations: 121.8 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.6714, allocations: 27.48 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.6715, allocations: 90.72 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.6715, allocations: 6.547 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.6715, allocations: 22.47 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.6716, allocations: 323.2 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.6717, allocations: 61.25 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.701e-05/0.6718, allocations: 57.86 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.672, allocations: 194 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.672, allocations: 0.5625 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002539/0.6723, allocations: 221.4 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.6723, allocations: 62.89 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.6723, allocations: 0 / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.6723, allocations: 1.219 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.6724, allocations: 4.062 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6724, allocations: 4.812 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.6724, allocations: 9.875 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.6725, allocations: 6.438 kB / 1.093 GB, free: 1.27 MB / 0.8575 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 6.693e-05/0.6725, allocations: 154.1 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.6726, allocations: 8.078 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.6726, allocations: 10.52 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.6726, allocations: 0 / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6726, allocations: 4.438 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6726, allocations: 5.828 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.6727, allocations: 177.7 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6727, allocations: 0.5 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.6728, allocations: 4.422 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6728, allocations: 4.672 kB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.6728, allocations: 1.125 kB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6728, allocations: 1.5 kB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6728, allocations: 0 / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.673, allocations: 247.7 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.6731, allocations: 83.66 kB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.6731, allocations: 6.391 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.6731, allocations: 5.109 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.6732, allocations: 5.156 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.6732, allocations: 2.109 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.6733, allocations: 110.8 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.6733, allocations: 0 / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003142/0.6736, allocations: 54.62 kB / 1.094 GB, free: 0.4922 MB / 0.8575 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.0006244/0.6742, allocations: 0.8284 MB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.6746, allocations: 238.8 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6746, allocations: 0.7812 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.6747, allocations: 111.6 kB / 1.095 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.6749, allocations: 2.625 kB / 1.095 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.6766, allocations: 1.76 MB / 1.097 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.6768, allocations: 0.6852 MB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.507e-05/0.6768, allocations: 0.5312 kB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.6769, allocations: 18.44 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.6769, allocations: 0 / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2694/0.9463, allocations: 2.818 MB / 1.1 GB, free: 13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/8.508, allocations: 7.859 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches