Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CubicHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_9_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.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001575/0.001575, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.275/1.275, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.25/2.25, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5676/0.569, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001748/0.5708, allocations: 0.6712 MB / 0.9497 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.5725, allocations: 1.418 MB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.5725, allocations: 1.375 kB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.513e-05/0.5726, allocations: 3.938 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.5726, allocations: 1.375 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.5731, allocations: 134.1 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.609e-05/0.5732, allocations: 40.27 kB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.5733, allocations: 10.67 kB / 0.9513 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.5733, allocations: 17.2 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.5734, allocations: 25.38 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.5734, allocations: 3.719 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.5737, allocations: 186.1 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.5738, allocations: 18.89 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.5738, allocations: 22.73 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.5741, allocations: 185.9 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5741, allocations: 0 / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.61e-07/0.5741, allocations: 3.938 kB / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5741, allocations: 0 / 0.9517 GB, free: 7.125 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003878/0.5745, allocations: 450.2 kB / 0.9522 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5746, allocations: 9.312 kB / 0.9522 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.5746, allocations: 36.12 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.5746, allocations: 4.875 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.542e-05/0.5747, allocations: 175.9 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5747, allocations: 1.781 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.5748, allocations: 4.312 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.5749, allocations: 96.61 kB / 0.9525 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.575, allocations: 3.938 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.575, allocations: 5.562 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.575, allocations: 0 / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.169e-05/0.5751, allocations: 68.89 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.5752, allocations: 183.5 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.5753, allocations: 76.59 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.5754, allocations: 66.98 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.5754, allocations: 4 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.5755, allocations: 39.69 kB / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.5755, allocations: 1.281 kB / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003891/0.5759, allocations: 254.1 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.5759, allocations: 83.84 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.576, allocations: 137.9 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.576, allocations: 26.98 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.5761, allocations: 91.47 kB / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.5761, allocations: 13.8 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.5761, allocations: 38.08 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.5762, allocations: 313 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.5763, allocations: 104.6 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.5764, allocations: 101.1 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.5767, allocations: 282.7 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5767, allocations: 0 / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003125/0.577, allocations: 326.2 kB / 0.9546 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.5771, allocations: 71.33 kB / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5771, allocations: 0 / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5771, allocations: 9.484 kB / 0.9547 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.5771, allocations: 0 / 0.9547 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5771, allocations: 0 / 0.9547 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.5772, allocations: 13.66 kB / 0.9547 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.5773, allocations: 4.406 kB / 0.9547 GB, free: 4.691 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: 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 7.527e-05/0.5773, allocations: 146.2 kB / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.5774, allocations: 12.41 kB / 0.9548 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.31e-05/0.5774, allocations: 17.33 kB / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5774, allocations: 4 kB / 0.9549 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5774, allocations: 1.375 kB / 0.9549 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5774, allocations: 0 / 0.9549 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.055e-05/0.5775, allocations: 168.8 kB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5775, allocations: 3.938 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.5775, allocations: 0 / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.5775, allocations: 0.9688 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.5775, allocations: 2.438 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5775, allocations: 4 kB / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5775, allocations: 5.344 kB / 0.955 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.5778, allocations: 239.7 kB / 0.9553 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.5778, allocations: 81.05 kB / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.5778, allocations: 1.281 kB / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.5779, allocations: 3.844 kB / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.5779, allocations: 7.609 kB / 0.9553 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.5779, allocations: 3.688 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.578, allocations: 109.2 kB / 0.9555 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.578, allocations: 0 / 0.9555 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000279/0.5783, allocations: 63.28 kB / 0.9555 GB, free: 3.945 MB / 0.7169 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.0005951/0.5789, allocations: 0.8179 MB / 0.9563 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.5793, allocations: 369.4 kB / 0.9567 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5793, allocations: 0 / 0.9567 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.5794, allocations: 144.3 kB / 0.9568 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.5795, allocations: 3.75 kB / 0.9568 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5812, allocations: 2.133 MB / 0.9589 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.5814, allocations: 0.6981 MB / 0.9596 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.653e-06/0.5814, allocations: 3.938 kB / 0.9596 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.5814, allocations: 16.34 kB / 0.9596 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.5814, allocations: 0 / 0.9596 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.5935, allocations: 3.035 MB / 0.9626 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.5937, allocations: 214.8 kB / 0.9628 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.34, allocations: 0 / 0.9628 GB, free: 14.89 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches