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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_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.001276/0.001276, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.99/2.99, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 66.2 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2524, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002555/0.255, allocations: 1.441 MB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2562, allocations: 0.7907 MB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.2562, allocations: 4 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.455e-05/0.2563, allocations: 3.984 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.2563, allocations: 3.938 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.257, allocations: 170.7 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.2571, allocations: 51.92 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.535e-05/0.2571, allocations: 7.984 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.2572, allocations: 11.94 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.2572, allocations: 27.91 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2573, allocations: 4 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.2576, allocations: 191.7 kB / 1.056 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.2576, allocations: 15.98 kB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.2577, allocations: 19.88 kB / 1.056 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.258, allocations: 191.9 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.258, allocations: 4 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.302e-06/0.258, allocations: 0 / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.258, allocations: 0 / 1.056 GB, free: 5.281 MB / 0.8106 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.0004533/0.2585, allocations: 426.8 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2585, allocations: 8.625 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.2585, allocations: 38.73 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.2586, allocations: 8.781 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2587, allocations: 176.2 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2587, allocations: 4.375 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2587, allocations: 384 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2589, allocations: 81.77 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.2589, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2589, allocations: 8 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2589, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.259, allocations: 43.97 kB / 1.057 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.2594, allocations: 288.8 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.2595, allocations: 54.55 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.2596, allocations: 44.92 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.2596, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2597, allocations: 34.55 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.2597, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003615/0.26, allocations: 195.2 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.2601, allocations: 77.11 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.2602, allocations: 121.8 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.2602, allocations: 29.7 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.2602, allocations: 88.08 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.2603, allocations: 11.89 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.2603, allocations: 17.72 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.2604, allocations: 326.8 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.77e-05/0.2605, allocations: 59.95 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.2606, allocations: 55.97 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2608, allocations: 193.9 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2608, allocations: 0 / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002696/0.2611, allocations: 224.9 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.2612, allocations: 59.41 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2612, allocations: 8 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2612, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.2613, allocations: 7.984 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2613, allocations: 3.938 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.2613, allocations: 4 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2613, allocations: 4 kB / 1.058 GB, free: 2.332 MB / 0.8106 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 9.946e-05/0.2614, allocations: 151.5 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.2615, allocations: 7.906 kB / 1.059 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.2615, allocations: 11.91 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2615, allocations: 0 / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2615, allocations: 0 / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2615, allocations: 0 / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.2617, allocations: 173.6 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2617, allocations: 0 / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.2617, allocations: 7.984 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2617, allocations: 0 / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2617, allocations: 4 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2618, allocations: 0 / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2618, allocations: 0 / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.262, allocations: 253.6 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.2621, allocations: 81.02 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.2621, allocations: 4 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.2622, allocations: 8.219 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.2623, allocations: 4 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.2623, allocations: 4 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.2624, allocations: 95.7 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2624, allocations: 4.031 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003145/0.2627, allocations: 59.98 kB / 1.059 GB, free: 1.371 MB / 0.8106 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.0006592/0.2634, allocations: 0.8311 MB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.2637, allocations: 238.8 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2637, allocations: 4 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.2638, allocations: 99.38 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.264, allocations: 15.81 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.2657, allocations: 1.748 MB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.266, allocations: 0.6924 MB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.301e-05/0.266, allocations: 0 / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.2661, allocations: 15.42 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2661, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/0.409, allocations: 2.801 MB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.779, allocations: 6.172 kB / 1.065 GB, free: 10.9 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > 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