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.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001281/0.001281, allocations: 192 kB / 16.14 MB, free: 6.645 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.229/2.229, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5507, allocations: 140.4 MB / 0.9491 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001715/0.5525, allocations: 0.6958 MB / 0.9497 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003758/0.5529, allocations: 201.5 kB / 0.9499 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.5529, allocations: 1.031 kB / 0.9499 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.5529, allocations: 3.938 kB / 0.9499 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.5531, allocations: 1.125 kB / 0.9499 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.5533, allocations: 71.59 kB / 0.95 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.488e-05/0.5533, allocations: 32.7 kB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.5534, allocations: 2.25 kB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.5534, allocations: 13.58 kB / 0.95 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.5535, allocations: 31.41 kB / 0.9501 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.5535, allocations: 1.656 kB / 0.9501 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.5536, allocations: 101.5 kB / 0.9502 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.5536, allocations: 9.312 kB / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.5537, allocations: 18.86 kB / 0.9502 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.5538, allocations: 98.06 kB / 0.9503 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5538, allocations: 0 / 0.9503 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5538, allocations: 0 / 0.9503 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.5538, allocations: 5.375 kB / 0.9503 GB, free: 8.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003904/0.5542, allocations: 368.1 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5543, allocations: 13.47 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.253e-05/0.5543, allocations: 36.16 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.5543, allocations: 3.594 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/0.5544, allocations: 184 kB / 0.9509 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.5544, allocations: 5.688 kB / 0.9509 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.5545, allocations: 5.625 kB / 0.9509 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5546, allocations: 56.45 kB / 0.9509 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.5546, allocations: 5.25 kB / 0.9509 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.5546, allocations: 0 / 0.9509 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.5546, allocations: 0 / 0.9509 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.5548, allocations: 41.7 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.5549, allocations: 237.4 kB / 0.9512 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.5551, allocations: 75.56 kB / 0.9513 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.5552, allocations: 24.62 kB / 0.9513 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.5552, allocations: 1.75 kB / 0.9513 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.5552, allocations: 34.55 kB / 0.9513 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5553, allocations: 4 kB / 0.9513 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0293/0.5846, allocations: 1.606 MB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.5846, allocations: 52.91 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.5847, allocations: 119.4 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.5848, allocations: 29.7 kB / 0.9531 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.5849, allocations: 93.84 kB / 0.9532 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.5849, allocations: 24 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.5852, allocations: 27.98 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.5852, allocations: 320.6 kB / 0.9536 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/0.5857, allocations: 139.4 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.5862, allocations: 146.5 kB / 0.9538 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/0.5872, allocations: 300.6 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5872, allocations: 0 / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001157/0.5884, allocations: 336 kB / 0.9544 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5884, allocations: 7.625 kB / 0.9544 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5884, allocations: 0 / 0.9544 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5885, allocations: 432 / 0.9544 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.59, allocations: 62.09 kB / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5901, allocations: 0 / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.5915, allocations: 50.72 kB / 0.9545 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.5915, allocations: 7.281 kB / 0.9546 GB, free: 5.211 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.0001584/0.5917, allocations: 124.5 kB / 0.9547 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.5918, allocations: 5.781 kB / 0.9547 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.5919, allocations: 18.8 kB / 0.9547 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.592, allocations: 1.5 kB / 0.9547 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.592, allocations: 0 / 0.9547 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.592, allocations: 0 / 0.9547 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005409/0.5974, allocations: 0.846 MB / 0.9555 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5974, allocations: 0 / 0.9555 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.5985, allocations: 52.72 kB / 0.9556 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5985, allocations: 5.312 kB / 0.9556 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.5986, allocations: 14.27 kB / 0.9556 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5986, allocations: 1.5 kB / 0.9556 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5986, allocations: 0 / 0.9556 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.5995, allocations: 325.7 kB / 0.9559 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.5995, allocations: 83.33 kB / 0.956 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.5996, allocations: 5 kB / 0.956 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6007, allocations: 42.52 kB / 0.956 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.6007, allocations: 6.797 kB / 0.956 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.6007, allocations: 4.125 kB / 0.956 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.6008, allocations: 104.4 kB / 0.9561 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6008, allocations: 0 / 0.9561 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000402/0.6012, allocations: 96 kB / 0.9562 GB, free: 3.957 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.001203/0.6024, allocations: 0.8668 MB / 0.9571 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000978/0.6034, allocations: 239.9 kB / 0.9573 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6034, allocations: 9.188 kB / 0.9573 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.6038, allocations: 88.34 kB / 0.9574 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.6042, allocations: 7.938 kB / 0.9574 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.6104, allocations: 2.685 MB / 0.96 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.6105, allocations: 0.6884 MB / 0.9607 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005443/0.6111, allocations: 56.08 kB / 0.9608 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.6116, allocations: 20.77 kB / 0.9608 GB, free: 332 kB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.6116, allocations: 1.156 kB / 0.9608 GB, free: 332 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.632, allocations: 9.209 MB / 0.9698 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.6323, allocations: 214.8 kB / 0.97 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/2.714, allocations: 3.938 kB / 0.97 GB, free: 11.17 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