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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004804/0.004804, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.001314/0.001314, allocations: 193 kB / 16.67 MB, free: 5.934 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.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.38/2.38, allocations: 482.6 MB / 0.7551 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 73.28 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2515, allocations: 162.3 MB / 1.242 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00224/0.2538, allocations: 1.444 MB / 1.243 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2549, allocations: 0.7767 MB / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.2549, allocations: 0 / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.916e-05/0.255, allocations: 3.938 kB / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.2551, allocations: 4 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.2556, allocations: 170.6 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2557, allocations: 51.84 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.2558, allocations: 15.98 kB / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.2558, allocations: 15.98 kB / 1.244 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.2559, allocations: 15.92 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2559, allocations: 4 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.2562, allocations: 199.7 kB / 1.244 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.2562, allocations: 11.98 kB / 1.245 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.2563, allocations: 19.86 kB / 1.245 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.2565, allocations: 199.7 kB / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2565, allocations: 0 / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2565, allocations: 0 / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2565, allocations: 0 / 1.245 GB, free: 6 MB / 0.9669 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.0004473/0.257, allocations: 438.4 kB / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.257, allocations: 8.031 kB / 1.245 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.2571, allocations: 34.75 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.2571, allocations: 4.891 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2572, allocations: 176.3 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.2572, allocations: 4.375 kB / 1.245 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2573, allocations: 4.375 kB / 1.245 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.2574, allocations: 73.8 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.2574, allocations: 4 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.2574, allocations: 0 / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2575, allocations: 11.92 kB / 1.245 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.2576, allocations: 47.91 kB / 1.245 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.2579, allocations: 276.9 kB / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.258, allocations: 54.56 kB / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.2581, allocations: 52.91 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.2581, allocations: 4 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2582, allocations: 34.5 kB / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2582, allocations: 0 / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.00034/0.2585, allocations: 183.3 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.2586, allocations: 81.11 kB / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.2587, allocations: 133.7 kB / 1.246 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2587, allocations: 29.7 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.2587, allocations: 84.14 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.2588, allocations: 7.953 kB / 1.246 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.2588, allocations: 21.7 kB / 1.246 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2589, allocations: 322.8 kB / 1.247 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.259, allocations: 59.95 kB / 1.247 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.2591, allocations: 55.97 kB / 1.247 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.2593, allocations: 201.9 kB / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2593, allocations: 0 / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000264/0.2596, allocations: 217 kB / 1.247 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.2597, allocations: 67.39 kB / 1.247 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2597, allocations: 0 / 1.247 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2597, allocations: 0 / 1.247 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.2597, allocations: 4 kB / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2598, allocations: 0 / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.2598, allocations: 11.92 kB / 1.247 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.2598, allocations: 8 kB / 1.247 GB, free: 3.039 MB / 0.9669 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.0001011/0.2599, allocations: 152 kB / 1.247 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.26, allocations: 8.188 kB / 1.247 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.501e-05/0.26, allocations: 3.906 kB / 1.247 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.26, allocations: 3.984 kB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.26, allocations: 0 / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.26, allocations: 3.938 kB / 1.247 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.2602, allocations: 181.6 kB / 1.248 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2602, allocations: 0 / 1.248 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.2602, allocations: 4 kB / 1.248 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2602, allocations: 4 kB / 1.248 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2602, allocations: 0 / 1.248 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2602, allocations: 0 / 1.248 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2602, allocations: 3.984 kB / 1.248 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.2605, allocations: 253.1 kB / 1.248 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.2605, allocations: 81.05 kB / 1.248 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2606, allocations: 4.031 kB / 1.248 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.2606, allocations: 8 kB / 1.248 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.2607, allocations: 11.92 kB / 1.248 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-06/0.2607, allocations: 8 kB / 1.248 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.2608, allocations: 91.27 kB / 1.248 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2608, allocations: 0 / 1.248 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002696/0.2611, allocations: 59.92 kB / 1.248 GB, free: 2.066 MB / 0.9669 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.0006507/0.2617, allocations: 0.8388 MB / 1.249 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.262, allocations: 238.7 kB / 1.249 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.262, allocations: 0 / 1.249 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2622, allocations: 103.3 kB / 1.249 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.2623, allocations: 8 kB / 1.249 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.264, allocations: 1.757 MB / 1.251 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.2643, allocations: 0.6885 MB / 1.252 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.274e-05/0.2643, allocations: 0 / 1.252 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.2643, allocations: 15.44 kB / 1.252 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of SimCode: time 1.9e-07/0.2643, allocations: 0 / 1.252 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 12.48/12.74, allocations: 2.811 MB / 1.254 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/23.56, allocations: 1.656 kB / 1.254 GB, free: 11.61 MB / 0.9825 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=400 --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