Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001402/0.001402, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001597/0.001597, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.786/2.786, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 68.36 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 170 MB / 1.283 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001865/0.3505, allocations: 0.6019 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3525, allocations: 1.388 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.3525, allocations: 3.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.478e-05/0.3525, allocations: 11.92 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.3526, allocations: 3.938 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.3532, allocations: 181.2 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3533, allocations: 47.95 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.3534, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.3534, allocations: 19.97 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.3535, allocations: 27.91 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3535, allocations: 0 / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.3539, allocations: 211.7 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.3539, allocations: 11.92 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.354, allocations: 27.86 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.3542, allocations: 190.9 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3542, allocations: 4 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3542, allocations: 4 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3542, allocations: 0 / 1.285 GB, free: 9.57 MB / 0.9825 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.0004406/0.3547, allocations: 365.2 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3547, allocations: 8.031 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.3548, allocations: 34.75 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.3548, allocations: 8.891 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.3549, allocations: 114.5 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3549, allocations: 384 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3549, allocations: 4.375 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3551, allocations: 123.5 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3551, allocations: 3.984 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3551, allocations: 4 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.3551, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3553, allocations: 97.59 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.3554, allocations: 152.7 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3556, allocations: 104.2 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3557, allocations: 94.59 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-06/0.3557, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3557, allocations: 38.5 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3557, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004391/0.3562, allocations: 310.6 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.3562, allocations: 85.14 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.3564, allocations: 149.7 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3564, allocations: 25.7 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.3564, allocations: 100 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.3565, allocations: 15.91 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.3565, allocations: 29.7 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3567, allocations: 310.8 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.3568, allocations: 175.3 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.357, allocations: 175.2 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.3573, allocations: 281.8 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3573, allocations: 3.938 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004303/0.3577, allocations: 404.3 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/0.3578, allocations: 74.05 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3578, allocations: 0 / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3578, allocations: 0 / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3578, allocations: 0 / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3578, allocations: 3.984 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.358, allocations: 15.89 kB / 1.288 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.358, allocations: 4 kB / 1.288 GB, free: 5.992 MB / 0.9825 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.0001241/0.3581, allocations: 151.5 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.3581, allocations: 11.92 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.421e-05/0.3581, allocations: 8.344 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3581, allocations: 0 / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3581, allocations: 3.984 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3581, allocations: 0 / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.3583, allocations: 136.8 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3583, allocations: 3.938 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-06/0.3583, allocations: 4 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3583, allocations: 3.984 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3583, allocations: 0 / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3583, allocations: 0 / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3583, allocations: 7.938 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.3586, allocations: 264.5 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.3586, allocations: 15.83 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3586, allocations: 4 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.3587, allocations: 4 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.3588, allocations: 7.984 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.3588, allocations: 4 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.349e-05/0.3588, allocations: 111.2 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3588, allocations: 3.938 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002773/0.3591, allocations: 63.92 kB / 1.289 GB, free: 5.105 MB / 0.9825 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 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0007733/0.3599, allocations: 0.8382 MB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.3604, allocations: 419.7 kB / 1.29 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3604, allocations: 0 / 1.29 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3605, allocations: 157 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.3607, allocations: 3.938 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.3632, allocations: 2.467 MB / 1.293 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.3632, allocations: 79.58 kB / 1.293 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.871e-06/0.3632, allocations: 0 / 1.293 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.3633, allocations: 23.61 kB / 1.293 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3633, allocations: 0 / 1.293 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.3954, allocations: 3.892 MB / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.52, allocations: 10.09 kB / 1.297 GB, free: 13.1 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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: 18.147449877113104]