Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.007146/0.007146, allocations: 101.2 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.001914/0.001914, allocations: 187.2 kB / 16.67 MB, free: 5.922 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.56/2.56, allocations: 482.6 MB / 0.755 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 69.41 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2842, allocations: 162.3 MB / 1.242 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001682/0.2859, allocations: 0.6419 MB / 1.243 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004036/0.2863, allocations: 203.5 kB / 1.243 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.2863, allocations: 0 / 1.243 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.2864, allocations: 3.938 kB / 1.243 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.2865, allocations: 7.938 kB / 1.243 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.2867, allocations: 79.73 kB / 1.243 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.006e-05/0.2868, allocations: 23.92 kB / 1.243 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.2868, allocations: 4 kB / 1.243 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.2869, allocations: 19.92 kB / 1.243 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.2869, allocations: 23.84 kB / 1.243 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.2869, allocations: 4 kB / 1.243 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.2871, allocations: 111.7 kB / 1.243 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.2871, allocations: 3.984 kB / 1.243 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.2872, allocations: 15.88 kB / 1.243 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.2873, allocations: 104 kB / 1.243 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2873, allocations: 0 / 1.243 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2873, allocations: 0 / 1.243 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2874, allocations: 4 kB / 1.243 GB, free: 7.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000505/0.2879, allocations: 375.1 kB / 1.243 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2879, allocations: 12.03 kB / 1.243 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.2879, allocations: 30.75 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.288, allocations: 4.938 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.2881, allocations: 172.3 kB / 1.244 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2881, allocations: 4.375 kB / 1.244 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.2882, allocations: 4.375 kB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.2883, allocations: 54.23 kB / 1.244 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2883, allocations: 3.938 kB / 1.244 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2883, allocations: 3.984 kB / 1.244 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2884, allocations: 0 / 1.244 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.2885, allocations: 39.91 kB / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.2888, allocations: 248.9 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.289, allocations: 70.47 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.042e-05/0.2891, allocations: 24.94 kB / 1.244 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.2891, allocations: 3.984 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2891, allocations: 30.56 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2891, allocations: 0 / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.02688/0.316, allocations: 1.62 MB / 1.246 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.3161, allocations: 51.41 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.3161, allocations: 117.8 kB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.3162, allocations: 29.7 kB / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.3163, allocations: 92.06 kB / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.3163, allocations: 35.73 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.3165, allocations: 25.7 kB / 1.246 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3167, allocations: 322.8 kB / 1.246 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.3171, allocations: 139.9 kB / 1.247 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.3176, allocations: 143.9 kB / 1.247 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009731/0.3186, allocations: 296.7 kB / 1.247 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3186, allocations: 0 / 1.247 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001162/0.3198, allocations: 337.5 kB / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3198, allocations: 4 kB / 1.247 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3198, allocations: 4 kB / 1.247 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.3198, allocations: 0.6562 kB / 1.247 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.3214, allocations: 63.88 kB / 1.247 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3214, allocations: 7.984 kB / 1.247 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.3227, allocations: 39.95 kB / 1.247 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.3228, allocations: 4 kB / 1.247 GB, free: 2.988 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: 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.0001552/0.323, allocations: 125.8 kB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.323, allocations: 3.953 kB / 1.247 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.3231, allocations: 24.31 kB / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3231, allocations: 0 / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3231, allocations: 0 / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3232, allocations: 0 / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/0.3289, allocations: 0.8338 MB / 1.248 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3289, allocations: 0 / 1.248 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.33, allocations: 55.94 kB / 1.248 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3301, allocations: 0 / 1.248 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.3301, allocations: 11.92 kB / 1.248 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3301, allocations: 8.062 kB / 1.248 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3301, allocations: 0 / 1.248 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009161/0.331, allocations: 329.1 kB / 1.249 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.3311, allocations: 85.06 kB / 1.249 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.3312, allocations: 7.938 kB / 1.249 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.3322, allocations: 35.95 kB / 1.249 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.3322, allocations: 7.984 kB / 1.249 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.3323, allocations: 7.938 kB / 1.249 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.979e-05/0.3323, allocations: 95.27 kB / 1.249 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3324, allocations: 0 / 1.249 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003486/0.3327, allocations: 99.88 kB / 1.249 GB, free: 1.16 MB / 0.9669 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.001269/0.334, allocations: 0.8746 MB / 1.25 GB, free: 260 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009338/0.3349, allocations: 239.8 kB / 1.25 GB, free: 20 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3349, allocations: 0 / 1.25 GB, free: 20 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.3354, allocations: 96.14 kB / 1.25 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3356, allocations: 13.81 kB / 1.25 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006386/0.342, allocations: 2.673 MB / 1.253 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.3423, allocations: 0.6884 MB / 1.254 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003905/0.3427, allocations: 52 kB / 1.254 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.3431, allocations: 23.42 kB / 1.254 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of SimCode: time 1.913e-06/0.3431, allocations: 0 / 1.254 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.188/0.5312, allocations: 9.809 MB / 1.263 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.69, allocations: 13.16 kB / 1.263 GB, free: 2.602 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches