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.001174/0.001174, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001126/0.001126, allocations: 189.8 kB / 16.25 MB, free: 6.637 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.265/1.265, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.547/2.547, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 66.27 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2296, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002133/0.2318, allocations: 1.51 MB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2328, allocations: 0.787 MB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.2328, allocations: 3.938 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.2329, allocations: 3.984 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.2329, allocations: 8 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.2335, allocations: 150.9 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.2336, allocations: 51.89 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.343e-05/0.2336, allocations: 8 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.161e-05/0.2337, allocations: 19.92 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.2337, allocations: 15.98 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.2337, allocations: 4 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.234, allocations: 199.7 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.234, allocations: 15.97 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.2341, allocations: 15.88 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.2343, allocations: 187.9 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2343, allocations: 4 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2343, allocations: 0 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2343, allocations: 4 kB / 1.055 GB, free: 5.652 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.0003945/0.2347, allocations: 430.7 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.2347, allocations: 12.62 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.2348, allocations: 34.75 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.2348, allocations: 12.78 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.2349, allocations: 168.3 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2349, allocations: 384 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.2349, allocations: 8.312 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.2351, allocations: 77.78 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.2351, allocations: 4 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2351, allocations: 0 / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.2351, allocations: 0 / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.2352, allocations: 47.91 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.2356, allocations: 276.9 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2357, allocations: 66.55 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.2358, allocations: 44.91 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.2358, allocations: 0 / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2358, allocations: 30.56 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2358, allocations: 4 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003298/0.2361, allocations: 187.2 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2362, allocations: 85.09 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.2363, allocations: 129.8 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2363, allocations: 25.7 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.2363, allocations: 96.06 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.2364, allocations: 3.906 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.2364, allocations: 21.72 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.2365, allocations: 318.8 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.2366, allocations: 55.97 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.2367, allocations: 63.95 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.2369, allocations: 189.9 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2369, allocations: 4 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002402/0.2371, allocations: 224.9 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.2372, allocations: 63.41 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2372, allocations: 3.984 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.2372, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.714e-05/0.2372, allocations: 4 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2373, allocations: 0 / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.2373, allocations: 8 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2373, allocations: 4 kB / 1.058 GB, free: 2.703 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 8.645e-05/0.2374, allocations: 152.9 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.2374, allocations: 7.906 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.2375, allocations: 7.906 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2375, allocations: 0 / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2375, allocations: 3.984 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2375, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.2376, allocations: 173.6 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2376, allocations: 11.92 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.2377, allocations: 4 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.2377, allocations: 0 / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2377, allocations: 4 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2377, allocations: 7.922 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2377, allocations: 0 / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2379, allocations: 245.1 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.238, allocations: 89.05 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.238, allocations: 3.984 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.2381, allocations: 4 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.2382, allocations: 8 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2382, allocations: 3.984 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.2382, allocations: 95.27 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2382, allocations: 0 / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002726/0.2385, allocations: 60 kB / 1.059 GB, free: 1.73 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.0005724/0.2391, allocations: 0.8273 MB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002708/0.2394, allocations: 246.7 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2394, allocations: 0 / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2395, allocations: 103.4 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2397, allocations: 12.03 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2411, allocations: 1.756 MB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.2413, allocations: 0.6885 MB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.215e-05/0.2414, allocations: 0 / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.2414, allocations: 15.44 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2414, allocations: 0 / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9809/1.222, allocations: 2.665 MB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003822/1.223, allocations: 247.8 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/3.081, allocations: 0 / 1.065 GB, free: 11.18 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