Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_9_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.0008521/0.0008524, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004929/0.004929, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003082, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5608, allocations: 142.4 MB / 0.9552 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0005879/0.5614, allocations: 374 kB / 0.9555 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003431/0.5617, allocations: 189.6 kB / 0.9557 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.5618, allocations: 0 / 0.9557 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.5618, allocations: 0 / 0.9557 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.5619, allocations: 10.14 kB / 0.9557 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.5621, allocations: 65.92 kB / 0.9558 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.709e-05/0.5621, allocations: 33.36 kB / 0.9558 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.5622, allocations: 6.234 kB / 0.9558 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.5622, allocations: 13.47 kB / 0.9558 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.5623, allocations: 26.42 kB / 0.9559 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.5623, allocations: 2.031 kB / 0.9559 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.5624, allocations: 106.4 kB / 0.956 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.5624, allocations: 9.422 kB / 0.956 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.5625, allocations: 51.92 kB / 0.956 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.5626, allocations: 93.64 kB / 0.9561 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5626, allocations: 9.172 kB / 0.9561 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5626, allocations: 0 / 0.9561 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.856e-06/0.5626, allocations: 0 / 0.9561 GB, free: 7.098 MB / 0.7169 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.0003571/0.563, allocations: 365 kB / 0.9565 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.563, allocations: 9.156 kB / 0.9565 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.214e-05/0.5631, allocations: 31.88 kB / 0.9565 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.5631, allocations: 10.19 kB / 0.9565 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.5632, allocations: 181.1 kB / 0.9567 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.5632, allocations: 9 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.5632, allocations: 3.344 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.5633, allocations: 55.95 kB / 0.9568 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5634, allocations: 3.938 kB / 0.9568 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.5634, allocations: 0 / 0.9568 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5634, allocations: 4.984 kB / 0.9568 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.5635, allocations: 47.64 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.5637, allocations: 243.3 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.5639, allocations: 85.75 kB / 0.9571 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.564, allocations: 28 kB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.564, allocations: 6.078 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.564, allocations: 34.56 kB / 0.9572 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.564, allocations: 0 / 0.9572 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02851/0.5925, allocations: 1.754 MB / 0.9589 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.5926, allocations: 52.38 kB / 0.9589 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.5927, allocations: 123.9 kB / 0.9591 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/0.5927, allocations: 30.58 kB / 0.9591 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.5928, allocations: 89.59 kB / 0.9592 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.5928, allocations: 27.44 kB / 0.9592 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.5929, allocations: 11.69 kB / 0.9592 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.593, allocations: 324.9 kB / 0.9595 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.5935, allocations: 166.2 kB / 0.9597 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.5939, allocations: 159.2 kB / 0.9598 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.5949, allocations: 333.7 kB / 0.9602 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5949, allocations: 0 / 0.9602 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001148/0.5961, allocations: 386.4 kB / 0.9605 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5961, allocations: 6.438 kB / 0.9605 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.5961, allocations: 0.75 kB / 0.9605 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5961, allocations: 0.7188 kB / 0.9605 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.5978, allocations: 81.64 kB / 0.9606 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5978, allocations: 3.938 kB / 0.9606 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.5993, allocations: 49.17 kB / 0.9607 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.5993, allocations: 11.06 kB / 0.9607 GB, free: 4.074 MB / 0.7169 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.0001503/0.5995, allocations: 120.8 kB / 0.9608 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.5996, allocations: 6.812 kB / 0.9608 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.5997, allocations: 18.47 kB / 0.9608 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5997, allocations: 1.125 kB / 0.9608 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.5997, allocations: 1.062 kB / 0.9608 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5997, allocations: 3.984 kB / 0.9608 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005842/0.6056, allocations: 0.9133 MB / 0.9617 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6056, allocations: 1.438 kB / 0.9617 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.6068, allocations: 79.95 kB / 0.9618 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.6068, allocations: 1.688 kB / 0.9618 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.6068, allocations: 9.328 kB / 0.9618 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6069, allocations: 1.219 kB / 0.9618 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6069, allocations: 5.125 kB / 0.9618 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.6077, allocations: 376.8 kB / 0.9622 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.6078, allocations: 80.73 kB / 0.9622 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.6078, allocations: 7.922 kB / 0.9622 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.6089, allocations: 43.36 kB / 0.9623 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.609, allocations: 10.88 kB / 0.9623 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.609, allocations: 12.12 kB / 0.9623 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.6091, allocations: 96.38 kB / 0.9624 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6091, allocations: 0 / 0.9624 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003887/0.6095, allocations: 98.39 kB / 0.9625 GB, free: 2.75 MB / 0.7169 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.001137/0.6106, allocations: 0.9232 MB / 0.9634 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009459/0.6116, allocations: 279.7 kB / 0.9637 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6116, allocations: 1.062 kB / 0.9637 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.612, allocations: 121.7 kB / 0.9638 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.6123, allocations: 7.422 kB / 0.9638 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/0.6185, allocations: 2.822 MB / 0.9665 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.6187, allocations: 0.6918 MB / 0.9672 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004692/0.6192, allocations: 51.75 kB / 0.9673 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.6197, allocations: 39.23 kB / 0.9673 GB, free: 15 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6197, allocations: 0 / 0.9673 GB, free: 15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.6429, allocations: 9.279 MB / 0.9764 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.6431, allocations: 216.8 kB / 0.9766 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.538, allocations: 3.875 kB / 0.9766 GB, free: 8.969 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches