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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007582/0.007582, allocations: 99.95 kB / 15.73 MB, free: 6.043 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.001567/0.001566, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.852/2.852, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 72.11 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3041, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001846/0.306, allocations: 0.6437 MB / 1.208 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004561/0.3065, allocations: 195.1 kB / 1.208 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.3066, allocations: 0 / 1.208 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.3066, allocations: 7.875 kB / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.3068, allocations: 11.92 kB / 1.208 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.307, allocations: 71.75 kB / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.3071, allocations: 23.98 kB / 1.208 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.3071, allocations: 0 / 1.208 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.3072, allocations: 31.84 kB / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.3073, allocations: 15.92 kB / 1.208 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3073, allocations: 4 kB / 1.208 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.3075, allocations: 107.7 kB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.3075, allocations: 7.984 kB / 1.208 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.3075, allocations: 23.8 kB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.3077, allocations: 99.81 kB / 1.209 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3077, allocations: 0 / 1.209 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3077, allocations: 0 / 1.209 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5e-06/0.3077, allocations: 3.938 kB / 1.209 GB, free: 8.93 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.0005186/0.3082, allocations: 375.6 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3083, allocations: 12.62 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.3083, allocations: 34.73 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.3084, allocations: 0.9375 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3085, allocations: 172.3 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3085, allocations: 4.375 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3086, allocations: 384 / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3087, allocations: 58.22 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3087, allocations: 7.938 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3087, allocations: 0 / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3087, allocations: 0 / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.3089, allocations: 35.91 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.3092, allocations: 248.9 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3094, allocations: 70.47 kB / 1.209 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.3095, allocations: 32.91 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3095, allocations: 0 / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3095, allocations: 30.56 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3095, allocations: 0 / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.02834/0.3379, allocations: 1.616 MB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3379, allocations: 55.41 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3381, allocations: 121.8 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.3381, allocations: 25.7 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.3382, allocations: 92.12 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-05/0.3383, allocations: 27.56 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3385, allocations: 25.7 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.3386, allocations: 326.8 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.3391, allocations: 139.9 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.3395, allocations: 144.2 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/0.3405, allocations: 300.7 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3405, allocations: 0 / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001166/0.3417, allocations: 333.5 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3417, allocations: 9.719 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.3418, allocations: 4 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3418, allocations: 3.938 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.3434, allocations: 63.92 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3434, allocations: 0 / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.3448, allocations: 43.95 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.3449, allocations: 7.984 kB / 1.213 GB, free: 4.328 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.0001907/0.3451, allocations: 117.8 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.3452, allocations: 4 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.3453, allocations: 20.38 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3454, allocations: 0 / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3454, allocations: 0 / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3454, allocations: 0 / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.351, allocations: 0.8376 MB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.351, allocations: 3.938 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.3521, allocations: 51.94 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.3521, allocations: 4 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.3522, allocations: 11.92 kB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3522, allocations: 0 / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3522, allocations: 8.062 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.3531, allocations: 321 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.3532, allocations: 85.39 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/0.3533, allocations: 7.938 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.3544, allocations: 39.94 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.3544, allocations: 7.938 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.3545, allocations: 4 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.312e-05/0.3546, allocations: 95.27 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3546, allocations: 0 / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004612/0.355, allocations: 92 kB / 1.214 GB, free: 2.52 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.001422/0.3565, allocations: 0.8781 MB / 1.215 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009431/0.3574, allocations: 247.9 kB / 1.216 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.3575, allocations: 4 kB / 1.216 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.3579, allocations: 100 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3582, allocations: 8 kB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/0.3648, allocations: 2.684 MB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.365, allocations: 0.6846 MB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004411/0.3655, allocations: 48 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/0.366, allocations: 27.42 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/0.366, allocations: 0 / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.3973, allocations: 10.23 MB / 1.229 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.617, allocations: 2.188 kB / 1.229 GB, free: 3.531 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=50 --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