Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001386/0.001386, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001525/0.001525, allocations: 219.6 kB / 23.03 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.808/2.808, allocations: 476.8 MB / 0.7715 GB, free: 3.895 MB / 0.6231 GB " [Timeout remaining time 176] 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.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="cs",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.002037/0.002037, allocations: 63.97 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3189, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001978/0.3208, allocations: 0.6284 MB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005298/0.3214, allocations: 179.4 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.3214, allocations: 0 / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.3214, allocations: 0 / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.3216, allocations: 11.92 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.3219, allocations: 71.75 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.667e-05/0.3219, allocations: 27.92 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.322, allocations: 11.22 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.322, allocations: 11.92 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.3221, allocations: 31.86 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3221, allocations: 0 / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3223, allocations: 55.81 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.3223, allocations: 11.92 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.3223, allocations: 15.92 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.3225, allocations: 79.8 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3225, allocations: 3.984 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3225, allocations: 0 / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3225, allocations: 4 kB / 1.285 GB, free: 9.508 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005413/0.323, allocations: 298 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3231, allocations: 8.031 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.915e-05/0.3231, allocations: 192 / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.3231, allocations: 34.75 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.3232, allocations: 4.891 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3233, allocations: 118.5 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.3233, allocations: 384 / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3233, allocations: 384 / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3235, allocations: 61.97 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3235, allocations: 0 / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3235, allocations: 4 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3235, allocations: 7.938 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3237, allocations: 31.91 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.324, allocations: 220 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3242, allocations: 66.53 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.3243, allocations: 20.94 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.3243, allocations: 4 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3243, allocations: 38.56 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3243, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.02956/0.3539, allocations: 1.62 MB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3539, allocations: 51.41 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.354, allocations: 113.8 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.236e-05/0.3541, allocations: 33.7 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.3542, allocations: 88.47 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.257e-05/0.3543, allocations: 31.73 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.3545, allocations: 25.7 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3546, allocations: 318.8 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.3552, allocations: 147.9 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.3556, allocations: 139.9 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.3566, allocations: 300.7 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3566, allocations: 0 / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00126/0.3579, allocations: 329.6 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3579, allocations: 8 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3579, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3579, allocations: 3.938 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.3595, allocations: 63.92 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3595, allocations: 0 / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.3609, allocations: 47.94 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.361, allocations: 0 / 1.289 GB, free: 5.121 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001991/0.3612, allocations: 117.8 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.3613, allocations: 11.95 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.3614, allocations: 16.38 kB / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3614, allocations: 0 / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3614, allocations: 4.422 kB / 1.289 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3614, allocations: 3.984 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005767/0.3672, allocations: 0.739 MB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3672, allocations: 0 / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.3683, allocations: 51.94 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3683, allocations: 288 / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/0.3684, allocations: 11.92 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3684, allocations: 0 / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3684, allocations: 4.016 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3694, allocations: 333.1 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.3694, allocations: 3.984 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.3695, allocations: 7.938 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.3705, allocations: 44.02 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.3705, allocations: 7.984 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.3706, allocations: 4 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.845e-05/0.3706, allocations: 91.27 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3706, allocations: 4 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004217/0.3711, allocations: 95.94 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001441/0.3725, allocations: 0.87 MB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.3735, allocations: 247.8 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3735, allocations: 0 / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.374, allocations: 95.88 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3743, allocations: 10.06 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/0.3812, allocations: 2.676 MB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.92e-05/0.3812, allocations: 75.27 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004455/0.3817, allocations: 48 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.3822, allocations: 31.42 kB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.3822, allocations: 0 / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.4164, allocations: 10.43 MB / 1.305 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.29, allocations: 10.81 kB / 1.305 GB, free: 5.012 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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: 19.207788230967708]