Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.00688/0.00688, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.00185/0.00185, allocations: 199.1 kB / 16.68 MB, free: 5.969 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.346/1.346, 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 12.0.0-master/package.mo): time 2.75/2.75, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3009, allocations: 162.3 MB / 1.242 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001607/0.3026, allocations: 0.629 MB / 1.243 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3045, allocations: 1.377 MB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.3045, allocations: 3.938 kB / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.82e-05/0.3046, allocations: 0 / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.3046, allocations: 3.938 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.3053, allocations: 183.1 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.3054, allocations: 43.95 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3055, allocations: 7.984 kB / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.3055, allocations: 15.98 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.3056, allocations: 23.92 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3056, allocations: 4 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.306, allocations: 199.7 kB / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.306, allocations: 19.92 kB / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.3061, allocations: 19.88 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.3064, allocations: 191.4 kB / 1.245 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3064, allocations: 4 kB / 1.245 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3064, allocations: 0 / 1.245 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3064, allocations: 0 / 1.245 GB, free: 7.066 MB / 0.9981 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.0004999/0.3069, allocations: 440 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.307, allocations: 12.03 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.307, allocations: 38.73 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.307, allocations: 8.891 kB / 1.245 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3072, allocations: 172.3 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3072, allocations: 4.312 kB / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.3072, allocations: 4.375 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3074, allocations: 101.7 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.3074, allocations: 3.938 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3075, allocations: 0 / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3075, allocations: 0 / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3076, allocations: 63.95 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.3078, allocations: 177.6 kB / 1.246 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3079, allocations: 86.53 kB / 1.246 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.308, allocations: 64.89 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.308, allocations: 0 / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.3081, allocations: 38.5 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3081, allocations: 3.938 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004084/0.3085, allocations: 255.2 kB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.3086, allocations: 81.11 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3087, allocations: 152.4 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3087, allocations: 25.7 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.3088, allocations: 92.09 kB / 1.246 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.3088, allocations: 7.953 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.3089, allocations: 29.7 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.309, allocations: 322.8 kB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3092, allocations: 99.94 kB / 1.247 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.3093, allocations: 99.94 kB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.3096, allocations: 289.9 kB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3097, allocations: 0 / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003794/0.31, allocations: 324.8 kB / 1.247 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.3101, allocations: 71.38 kB / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3101, allocations: 0 / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3101, allocations: 0 / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-06/0.3102, allocations: 8 kB / 1.247 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3102, allocations: 0 / 1.247 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.3103, allocations: 11.89 kB / 1.247 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.3103, allocations: 4 kB / 1.248 GB, free: 3.742 MB / 0.9981 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.0001293/0.3105, allocations: 155.6 kB / 1.248 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.3105, allocations: 15.88 kB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.3105, allocations: 4.25 kB / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3105, allocations: 3.938 kB / 1.248 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.3105, allocations: 0 / 1.248 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.3106, allocations: 0 / 1.248 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.3107, allocations: 173.6 kB / 1.248 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3107, allocations: 3.938 kB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.3107, allocations: 4.078 kB / 1.248 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3107, allocations: 8 kB / 1.248 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3107, allocations: 3.984 kB / 1.248 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3108, allocations: 0 / 1.248 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3108, allocations: 3.938 kB / 1.248 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.3111, allocations: 226.7 kB / 1.248 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3111, allocations: 89 kB / 1.248 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.3111, allocations: 0 / 1.248 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.3112, allocations: 8 kB / 1.248 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.3113, allocations: 12.02 kB / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.3113, allocations: 0 / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.838e-05/0.3114, allocations: 111.2 kB / 1.248 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3114, allocations: 0 / 1.248 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000312/0.3117, allocations: 67.86 kB / 1.248 GB, free: 2.754 MB / 0.9981 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.0007983/0.3125, allocations: 0.8136 MB / 1.249 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.313, allocations: 374.6 kB / 1.25 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.313, allocations: 0 / 1.25 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3131, allocations: 131.4 kB / 1.25 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.3133, allocations: 8 kB / 1.25 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4967/0.8099, allocations: 2.14 MB / 1.252 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.8101, allocations: 0.6915 MB / 1.252 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.346e-06/0.8101, allocations: 0.6094 kB / 1.252 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.8101, allocations: 15.64 kB / 1.252 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.8101, allocations: 0.7188 kB / 1.252 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/0.9111, allocations: 3.312 MB / 1.256 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/9.268, allocations: 3.5 kB / 1.256 GB, free: 12.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches