Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_11_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.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 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.001374/0.001374, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.442/2.442, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 64.03 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2331, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002289/0.2354, allocations: 1.444 MB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2365, allocations: 0.7849 MB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.2366, allocations: 0 / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.2366, allocations: 3.938 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.715e-05/0.2367, allocations: 7.922 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.2372, allocations: 172.5 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.2373, allocations: 39.98 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.2374, allocations: 7.984 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.2374, allocations: 19.92 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.2374, allocations: 23.97 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.2375, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.2378, allocations: 195.7 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.2378, allocations: 11.94 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.2378, allocations: 19.86 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.2381, allocations: 191.9 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2381, allocations: 8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2381, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.2381, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 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.0004445/0.2386, allocations: 426.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2386, allocations: 16.03 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.2386, allocations: 34.69 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.2387, allocations: 8.922 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2388, allocations: 172.3 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2388, allocations: 384 / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.2388, allocations: 12.3 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.239, allocations: 81.72 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.239, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.239, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-06/0.239, allocations: 4 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.2391, allocations: 43.97 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.2395, allocations: 276.9 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.2396, allocations: 58.55 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.2397, allocations: 44.86 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.2397, allocations: 4 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2397, allocations: 34.55 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2397, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.00034/0.2401, allocations: 187.2 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.2401, allocations: 77.11 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.2402, allocations: 125.8 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2403, allocations: 25.7 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.2403, allocations: 96.11 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.2403, allocations: 7.891 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.2404, allocations: 21.72 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2405, allocations: 314.8 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.73e-05/0.2406, allocations: 63.89 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.2407, allocations: 59.97 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.2409, allocations: 189.9 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2409, allocations: 4 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002633/0.2412, allocations: 225 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.2412, allocations: 63.39 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.2412, allocations: 0 / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.2413, allocations: 0 / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.2413, allocations: 7.984 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2413, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.2414, allocations: 4 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.2414, allocations: 3.938 kB / 1.07 GB, free: 8.285 MB / 0.8262 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.0001057/0.2415, allocations: 159.4 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.2415, allocations: 7.906 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.2415, allocations: 7.906 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2416, allocations: 4 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2416, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.2416, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2417, allocations: 173.5 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2417, allocations: 0 / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.2418, allocations: 4 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2418, allocations: 3.984 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.2418, allocations: 8 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2418, allocations: 4 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2418, allocations: 0 / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.2421, allocations: 241.4 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.2421, allocations: 85.02 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2421, allocations: 3.984 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.2422, allocations: 11.95 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.2423, allocations: 12 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2423, allocations: 0 / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.2423, allocations: 99.64 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2423, allocations: 0 / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000266/0.2426, allocations: 59.98 kB / 1.07 GB, free: 7.309 MB / 0.8262 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.0006504/0.2433, allocations: 0.8316 MB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.2436, allocations: 242.7 kB / 1.071 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2436, allocations: 0 / 1.071 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2437, allocations: 103.4 kB / 1.071 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.2439, allocations: 7.938 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2456, allocations: 1.755 MB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2458, allocations: 0.6846 MB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.057e-05/0.2459, allocations: 0 / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.2459, allocations: 19.42 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2459, allocations: 0 / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.978/4.224, allocations: 2.804 MB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/17.3, allocations: 13.38 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches