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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9306/0.9306, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.902/1.902, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.596e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002107/0.002133, allocations: 1.46 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003262, allocations: 0.7798 MB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.003301, allocations: 0 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.488e-05/0.003386, allocations: 7.938 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.003442, allocations: 0 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.004055, allocations: 183.5 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.004176, allocations: 47.84 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.00426, allocations: 4 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.004313, allocations: 23.98 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.004369, allocations: 19.91 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.004385, allocations: 4 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.004659, allocations: 211.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.004715, allocations: 7.938 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.004751, allocations: 19.97 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.005016, allocations: 235.4 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005019, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.864e-06/0.005021, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.005027, allocations: 7.984 kB / 1.003 GB, free: 10.45 MB / 0.9636 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.0006607/0.005687, allocations: 355.6 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001002/0.005788, allocations: 12.75 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.005854, allocations: 34.75 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.005918, allocations: 4.938 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.006006, allocations: 113.7 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.006017, allocations: 384 / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.006028, allocations: 4.375 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.006203, allocations: 111.2 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006211, allocations: 0 / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.00622, allocations: 4 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.006226, allocations: 4 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.006302, allocations: 73.66 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.006662, allocations: 244 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.006763, allocations: 84.25 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.006825, allocations: 74.55 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.006842, allocations: 15.92 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.006867, allocations: 34.55 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.006868, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003035/0.007171, allocations: 246.7 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.007212, allocations: 81.11 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.007297, allocations: 117.8 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.007309, allocations: 29.69 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.00735, allocations: 88.14 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.00737, allocations: 11.89 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.007404, allocations: 21.72 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003008/0.007705, allocations: 326.8 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.007808, allocations: 119.3 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.007883, allocations: 115.4 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.008033, allocations: 201.9 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008035, allocations: 0 / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000201/0.008236, allocations: 284.4 kB / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.008278, allocations: 59.41 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.008283, allocations: 0 / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.008297, allocations: 0 / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.008363, allocations: 7.984 kB / 1.005 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.008369, allocations: 0 / 1.005 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.008396, allocations: 11.89 kB / 1.005 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.008406, allocations: 12 kB / 1.005 GB, free: 7.27 MB / 0.9636 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.545e-05/0.008492, allocations: 151.5 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.008508, allocations: 4 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.008534, allocations: 12 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008537, allocations: 0 / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.008541, allocations: 0 / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008544, allocations: 0 / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.008671, allocations: 140.7 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.008673, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.008695, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.008699, allocations: 11.94 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.008708, allocations: 3.984 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.00871, allocations: 0 / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008711, allocations: 0 / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.00892, allocations: 278.8 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.008929, allocations: 7.953 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.008942, allocations: 0 / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.008978, allocations: 11.92 kB / 1.006 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.009106, allocations: 8 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.009111, allocations: 0 / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.807e-05/0.00916, allocations: 103.7 kB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.00916, allocations: 0 / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002537/0.009413, allocations: 59.92 kB / 1.006 GB, free: 6.398 MB / 0.9636 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.0005514/0.009965, allocations: 0.864 MB / 1.007 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.01025, allocations: 323.8 kB / 1.007 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01025, allocations: 4 kB / 1.007 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.01033, allocations: 133.1 kB / 1.007 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.0105, allocations: 4 kB / 1.007 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.0123, allocations: 2.04 MB / 1.009 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.01236, allocations: 71.7 kB / 1.009 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.01238, allocations: 3.906 kB / 1.01 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.01242, allocations: 16.5 kB / 1.01 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.01242, allocations: 0 / 1.01 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.03525, allocations: 3.466 MB / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.074, allocations: 5.969 kB / 1.013 GB, free: 15.4 MB / 0.9792 GB " [Timeout remaining time 292] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.677528869360685]