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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001715/0.001715, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001973/0.001973, allocations: 188.2 kB / 16.25 MB, free: 6.621 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.233/1.233, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5311/0.5323, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001586/0.534, allocations: 0.6786 MB / 0.9499 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.5352, allocations: 1.386 MB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.5352, allocations: 0 / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.776e-05/0.5353, allocations: 1.594 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.287e-05/0.5353, allocations: 1.625 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.5358, allocations: 162.3 kB / 0.9514 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.5359, allocations: 55.34 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.104e-05/0.5359, allocations: 5.359 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.536, allocations: 17.61 kB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.536, allocations: 33.52 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.536, allocations: 2.75 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.5363, allocations: 193.5 kB / 0.9517 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.5363, allocations: 11.16 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.5364, allocations: 23.48 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.5366, allocations: 189.3 kB / 0.9519 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5366, allocations: 4 kB / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5366, allocations: 1.438 kB / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.5366, allocations: 0 / 0.9519 GB, free: 7.094 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.0002973/0.5369, allocations: 437.3 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5369, allocations: 9.062 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.158e-05/0.537, allocations: 36.12 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.537, allocations: 5.125 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.892e-05/0.5371, allocations: 180.3 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.5371, allocations: 1.406 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.5371, allocations: 8.719 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.5372, allocations: 99.64 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-06/0.5373, allocations: 1.344 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.5373, allocations: 0 / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5373, allocations: 1.281 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.646e-05/0.5374, allocations: 60.39 kB / 0.9527 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.5375, allocations: 180.3 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.614e-05/0.5376, allocations: 84.03 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.5377, allocations: 70.92 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.5377, allocations: 3.938 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.5377, allocations: 35.81 kB / 0.9531 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5377, allocations: 0 / 0.9531 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003178/0.538, allocations: 250.9 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.538, allocations: 87.78 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.5381, allocations: 143.5 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.5381, allocations: 27.27 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.5382, allocations: 94.94 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.5382, allocations: 14.09 kB / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.5382, allocations: 30.05 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.5383, allocations: 316.2 kB / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.5384, allocations: 104.6 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.5385, allocations: 100.4 kB / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.5387, allocations: 274.8 kB / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5387, allocations: 0.9688 kB / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002832/0.539, allocations: 330.4 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.5391, allocations: 70.81 kB / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5391, allocations: 0 / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5391, allocations: 5 kB / 0.9548 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.5391, allocations: 0 / 0.9548 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5391, allocations: 0 / 0.9548 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5392, allocations: 13.91 kB / 0.9549 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.5392, allocations: 3.344 kB / 0.9549 GB, free: 4.676 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 6.941e-05/0.5393, allocations: 151.1 kB / 0.955 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.5393, allocations: 15.47 kB / 0.955 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.5393, allocations: 10.77 kB / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.5394, allocations: 0 / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.5394, allocations: 144 / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5394, allocations: 5.328 kB / 0.955 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.061e-05/0.5394, allocations: 171.9 kB / 0.9552 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5394, allocations: 5.062 kB / 0.9552 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.5394, allocations: 0 / 0.9552 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5394, allocations: 1.469 kB / 0.9552 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5395, allocations: 5.312 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5395, allocations: 0 / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5395, allocations: 5.406 kB / 0.9552 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.5397, allocations: 234.6 kB / 0.9554 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.5397, allocations: 84.98 kB / 0.9555 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.5397, allocations: 3.75 kB / 0.9555 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.303e-05/0.5398, allocations: 5.75 kB / 0.9555 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.5398, allocations: 7.797 kB / 0.9555 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.5398, allocations: 3.531 kB / 0.9555 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.5399, allocations: 114.8 kB / 0.9557 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5399, allocations: 0 / 0.9557 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002482/0.5401, allocations: 62.94 kB / 0.9557 GB, free: 3.918 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.0004784/0.5406, allocations: 0.814 MB / 0.9565 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.5409, allocations: 378 kB / 0.9569 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5409, allocations: 0 / 0.9569 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.5411, allocations: 135 kB / 0.957 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.5412, allocations: 13.95 kB / 0.957 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.5428, allocations: 2.132 MB / 0.9591 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.684e-05/0.5429, allocations: 0.6936 MB / 0.9598 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.809e-06/0.5429, allocations: 0 / 0.9598 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.5429, allocations: 20.28 kB / 0.9598 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5429, allocations: 0 / 0.9598 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.5551, allocations: 3.135 MB / 0.9629 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.5553, allocations: 211.1 kB / 0.9631 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.206, allocations: 0 / 0.9631 GB, free: 14.81 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