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.001195/0.001195, 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.001264/0.001264, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.142/2.142, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.91 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5127, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00152/0.5142, allocations: 0.6081 MB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.5154, allocations: 1.381 MB / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.5155, allocations: 0 / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.729e-05/0.5155, allocations: 5.312 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.5156, allocations: 1.375 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.5162, allocations: 180.9 kB / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.5164, allocations: 52.09 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.5164, allocations: 3.984 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.5165, allocations: 17.42 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.5166, allocations: 29.53 kB / 0.952 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.5166, allocations: 2.406 kB / 0.952 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.5169, allocations: 194.7 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.517, allocations: 18.12 kB / 0.9522 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.517, allocations: 22.2 kB / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.5173, allocations: 186.6 kB / 0.9524 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.5173, allocations: 0 / 0.9524 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5174, allocations: 1.094 kB / 0.9524 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.5174, allocations: 0 / 0.9524 GB, free: 7.152 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.0004139/0.5178, allocations: 446.3 kB / 0.9528 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5178, allocations: 8.375 kB / 0.9528 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.5179, allocations: 36.22 kB / 0.9528 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.5179, allocations: 9.688 kB / 0.9528 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.518, allocations: 180.9 kB / 0.953 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.518, allocations: 5.578 kB / 0.953 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.5181, allocations: 4.375 kB / 0.953 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.5183, allocations: 96.52 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5183, allocations: 0 / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.5183, allocations: 1.625 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5183, allocations: 0 / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.5184, allocations: 61.23 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.5185, allocations: 179.5 kB / 0.9533 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.5187, allocations: 92.86 kB / 0.9534 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/0.5188, allocations: 66.55 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.5188, allocations: 0 / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.5188, allocations: 36.03 kB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.5188, allocations: 0 / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003987/0.5192, allocations: 250.3 kB / 0.9538 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.5192, allocations: 91.36 kB / 0.9539 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.5194, allocations: 144.2 kB / 0.954 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5194, allocations: 27.08 kB / 0.954 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.5194, allocations: 95 kB / 0.9541 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.5195, allocations: 14.5 kB / 0.9541 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.5195, allocations: 28.8 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.5196, allocations: 317.3 kB / 0.9544 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.5197, allocations: 104.3 kB / 0.9545 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.5198, allocations: 104.8 kB / 0.9546 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.5201, allocations: 278.6 kB / 0.9549 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5201, allocations: 0 / 0.9549 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003464/0.5205, allocations: 322.4 kB / 0.9552 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/0.5205, allocations: 75.45 kB / 0.9553 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5205, allocations: 0 / 0.9553 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5205, allocations: 1.125 kB / 0.9553 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.5205, allocations: 0 / 0.9553 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5206, allocations: 0 / 0.9553 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.5207, allocations: 14.55 kB / 0.9553 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.5207, allocations: 7.375 kB / 0.9553 GB, free: 4.719 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 8.489e-05/0.5208, allocations: 151.1 kB / 0.9555 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.5208, allocations: 11.38 kB / 0.9555 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.5208, allocations: 5.562 kB / 0.9555 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5208, allocations: 1.469 kB / 0.9555 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.5209, allocations: 0 / 0.9555 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5209, allocations: 3.984 kB / 0.9555 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.94e-05/0.5209, allocations: 168.9 kB / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.521, allocations: 3.938 kB / 0.9556 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.521, allocations: 5.25 kB / 0.9557 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.521, allocations: 3.984 kB / 0.9557 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.521, allocations: 2.719 kB / 0.9557 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.521, allocations: 3.938 kB / 0.9557 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.521, allocations: 0 / 0.9557 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.5213, allocations: 231 kB / 0.9559 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.5213, allocations: 87.06 kB / 0.956 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.5213, allocations: 1.969 kB / 0.956 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.5214, allocations: 5.938 kB / 0.956 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.5214, allocations: 16.81 kB / 0.956 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.5214, allocations: 1.812 kB / 0.956 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.5215, allocations: 108.8 kB / 0.9561 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5215, allocations: 0 / 0.9561 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002669/0.5218, allocations: 59.59 kB / 0.9562 GB, free: 3.973 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.0005563/0.5223, allocations: 0.8187 MB / 0.9569 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.5227, allocations: 373 kB / 0.9573 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5227, allocations: 1.375 kB / 0.9573 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.5228, allocations: 135.2 kB / 0.9574 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.5229, allocations: 9.594 kB / 0.9574 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.5246, allocations: 2.126 MB / 0.9595 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.964e-05/0.5247, allocations: 0.694 MB / 0.9602 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.709e-06/0.5247, allocations: 0 / 0.9602 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.5248, allocations: 20.59 kB / 0.9602 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5248, allocations: 0 / 0.9602 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.5427, allocations: 3.278 MB / 0.9634 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.58/7.123, allocations: 3.641 kB / 0.9634 GB, free: 14.99 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