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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_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.001637/0.001637, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.629/2.629, allocations: 469.8 MB / 0.7424 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 69.7 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2461, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002378/0.2485, allocations: 0.6457 MB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000518/0.249, allocations: 199.2 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.2491, allocations: 3.938 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.2491, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.2493, allocations: 11.92 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.2495, allocations: 75.75 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.2496, allocations: 23.92 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.2497, allocations: 8 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.577e-05/0.2497, allocations: 11.92 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.2498, allocations: 23.91 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.2498, allocations: 4 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.2501, allocations: 111.7 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.2501, allocations: 7.984 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.2501, allocations: 11.88 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2504, allocations: 107.7 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2504, allocations: 4 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2504, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2504, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 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.0006536/0.2511, allocations: 371.7 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2511, allocations: 8.031 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.2512, allocations: 34.73 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.2512, allocations: 8.844 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.2514, allocations: 168.4 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2514, allocations: 384 / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2515, allocations: 12.25 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.2517, allocations: 54.22 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2517, allocations: 7.844 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2517, allocations: 4 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2518, allocations: 4 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.2519, allocations: 35.91 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.2523, allocations: 241 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.2526, allocations: 86.38 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2528, allocations: 20.94 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.2529, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2529, allocations: 38.56 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2529, allocations: 0 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0298/0.2827, allocations: 1.609 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2828, allocations: 55.39 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2829, allocations: 117.8 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/0.283, allocations: 25.7 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.283, allocations: 84.14 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.2831, allocations: 35.53 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.2833, allocations: 25.7 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2834, allocations: 322.8 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.2839, allocations: 147.9 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004953/0.2844, allocations: 139.9 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.2854, allocations: 297.3 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2854, allocations: 3.938 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001143/0.2866, allocations: 329.5 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2866, allocations: 8 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2866, allocations: 4 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2866, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.2881, allocations: 67.92 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2882, allocations: 0 / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.2895, allocations: 43.95 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.2896, allocations: 3.984 kB / 1.07 GB, free: 8.336 MB / 0.8262 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.0001751/0.2897, allocations: 121.7 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.2898, allocations: 11.91 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.2899, allocations: 16.38 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.29, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.29, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.29, allocations: 4 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005676/0.2957, allocations: 0.8415 MB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2957, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.2968, allocations: 51.94 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2968, allocations: 3.938 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.2968, allocations: 7.938 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2968, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2968, allocations: 4.062 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.2977, allocations: 317.2 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.2978, allocations: 89.02 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.2979, allocations: 7.922 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.2989, allocations: 39.95 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.299, allocations: 8 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.299, allocations: 3.938 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.462e-05/0.2991, allocations: 99.3 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2991, allocations: 0 / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003764/0.2995, allocations: 95.98 kB / 1.071 GB, free: 6.512 MB / 0.8262 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.001398/0.3009, allocations: 0.8663 MB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009717/0.3018, allocations: 247.8 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3019, allocations: 4 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.3023, allocations: 96.02 kB / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.3026, allocations: 4 kB / 1.072 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006635/0.3092, allocations: 2.682 MB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3095, allocations: 0.6846 MB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004574/0.31, allocations: 48 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/0.3104, allocations: 23.42 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3104, allocations: 0 / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.161/3.471, allocations: 9.77 MB / 1.085 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/20.28, allocations: 19.91 kB / 1.085 GB, free: 7.957 MB / 0.8419 GB (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 --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) 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) Reference file matches