Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.89 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7856, allocations: 160.7 MB / 1.213 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002824/0.7885, allocations: 1.443 MB / 1.214 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.7899, allocations: 0.7842 MB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.7899, allocations: 1.188 kB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.748e-05/0.79, allocations: 3.938 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.79, allocations: 5.906 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.7907, allocations: 175.4 kB / 1.215 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.7909, allocations: 37.11 kB / 1.215 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.7909, allocations: 11.39 kB / 1.215 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.791, allocations: 21.61 kB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.791, allocations: 17.97 kB / 1.215 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.7911, allocations: 7.438 kB / 1.215 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.7915, allocations: 209 kB / 1.216 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.7915, allocations: 12.33 kB / 1.216 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.7916, allocations: 24.17 kB / 1.216 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.7919, allocations: 186.3 kB / 1.216 GB, free: 1.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.7919, allocations: 7.938 kB / 1.216 GB, free: 1.652 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7919, allocations: 0 / 1.216 GB, free: 1.652 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.7919, allocations: 0 / 1.216 GB, free: 1.652 MB / 0.92 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.0005807/0.7925, allocations: 429.5 kB / 1.216 GB, free: 1.199 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7925, allocations: 14.28 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.7926, allocations: 31.81 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.7926, allocations: 8.172 kB / 1.216 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.7928, allocations: 175.5 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.7928, allocations: 1.438 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.7928, allocations: 2.656 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.793, allocations: 78.34 kB / 1.217 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.793, allocations: 0.75 kB / 1.217 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.793, allocations: 9.078 kB / 1.217 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.793, allocations: 4 kB / 1.217 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.7931, allocations: 53.53 kB / 1.217 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.7936, allocations: 278.8 kB / 1.217 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.7937, allocations: 56.41 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.7938, allocations: 41.5 kB / 1.217 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.7938, allocations: 1.094 kB / 1.217 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.7938, allocations: 35.62 kB / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7938, allocations: 0 / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004112/0.7942, allocations: 188.9 kB / 1.217 GB, free: 340 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.7943, allocations: 78.33 kB / 1.217 GB, free: 244 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.7944, allocations: 127.1 kB / 1.217 GB, free: 124 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.7944, allocations: 27.3 kB / 1.217 GB, free: 92 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.7945, allocations: 86.39 kB / 1.217 GB, free: 4 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.7945, allocations: 13.66 kB / 1.217 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.7945, allocations: 21.34 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7947, allocations: 315.7 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.7948, allocations: 60.17 kB / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.603e-05/0.7949, allocations: 57.91 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.7951, allocations: 192.7 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7951, allocations: 0 / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003043/0.7954, allocations: 220.5 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.7955, allocations: 67.73 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7955, allocations: 5.438 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7955, allocations: 0 / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.7956, allocations: 2.625 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.7956, allocations: 5.438 kB / 1.218 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.7956, allocations: 8.359 kB / 1.218 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.7956, allocations: 3.031 kB / 1.218 GB, free: 15.24 MB / 0.9356 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.0001248/0.7958, allocations: 156.1 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.7958, allocations: 7.047 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.7958, allocations: 5.062 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7958, allocations: 0 / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7958, allocations: 1.188 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.7958, allocations: 0 / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.796, allocations: 174.8 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.796, allocations: 0 / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.796, allocations: 7.812 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.796, allocations: 4 kB / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.7961, allocations: 6.141 kB / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7961, allocations: 4 kB / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7961, allocations: 0 / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.7964, allocations: 255.4 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.7964, allocations: 82.14 kB / 1.219 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.7964, allocations: 2.312 kB / 1.219 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.7965, allocations: 7.453 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.7966, allocations: 11.16 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.7966, allocations: 1.156 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.864e-05/0.7967, allocations: 96.02 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7967, allocations: 0 / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003384/0.7971, allocations: 59.95 kB / 1.219 GB, free: 14.42 MB / 0.9356 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.0008092/0.7979, allocations: 0.8435 MB / 1.22 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.7982, allocations: 230.2 kB / 1.22 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7982, allocations: 0 / 1.22 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.7983, allocations: 101.6 kB / 1.22 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.7986, allocations: 11.39 kB / 1.22 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.8007, allocations: 1.754 MB / 1.222 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.801, allocations: 0.6937 MB / 1.223 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.781e-05/0.801, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.8011, allocations: 13.62 kB / 1.223 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8011, allocations: 3.938 kB / 1.223 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.8269, allocations: 2.832 MB / 1.226 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.521, allocations: 6.312 kB / 1.226 GB, free: 9.766 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.059283110313118]