Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_10_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.001589/0.001589, allocations: 108 kB / 15.61 MB, free: 152 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.001776/0.001776, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.406/2.406, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.5701, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00168/0.5718, allocations: 0.6309 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.5722, allocations: 203 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.5723, allocations: 0 / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.5723, allocations: 7.938 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.5724, allocations: 3.938 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.5726, allocations: 75.73 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.5727, allocations: 27.92 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.5728, allocations: 8 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.5728, allocations: 11.92 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.5729, allocations: 31.84 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.5729, allocations: 4 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.5731, allocations: 103.7 kB / 1.019 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.5731, allocations: 15.98 kB / 1.019 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.5731, allocations: 11.88 kB / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.5733, allocations: 103.8 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5733, allocations: 0 / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5733, allocations: 0 / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5733, allocations: 0 / 1.019 GB, free: 1.254 MB / 0.7637 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.000449/0.5738, allocations: 365.6 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.5738, allocations: 8.031 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.5738, allocations: 42.75 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.5739, allocations: 0.9375 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.574, allocations: 180.2 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.574, allocations: 4.375 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.574, allocations: 384 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.5742, allocations: 62.17 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5742, allocations: 3.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.5742, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5742, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.5743, allocations: 39.95 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.5746, allocations: 248.9 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.5748, allocations: 70.41 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/0.5749, allocations: 28.94 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.5749, allocations: 0 / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.5749, allocations: 34.55 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.5749, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of matching and sorting (n=8): time 0.02572/0.6006, allocations: 1.605 MB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.6007, allocations: 59.41 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.388e-05/0.6008, allocations: 113.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.6009, allocations: 33.69 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.6009, allocations: 88.05 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.601, allocations: 20.09 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.6012, allocations: 25.7 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.6013, allocations: 322.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.6017, allocations: 143.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.6022, allocations: 147.9 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.6031, allocations: 296.8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6031, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001095/0.6042, allocations: 337.4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.6042, allocations: 4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6043, allocations: 3.984 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6043, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.6057, allocations: 63.94 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6058, allocations: 3.984 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.607, allocations: 51.95 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.6071, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 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.00016/0.6073, allocations: 125.6 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.6074, allocations: 7.906 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.6075, allocations: 16.38 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6075, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6075, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6075, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/0.6129, allocations: 0.8377 MB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6129, allocations: 3.938 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.614, allocations: 51.94 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.614, allocations: 4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.614, allocations: 8.203 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.614, allocations: 3.938 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6141, allocations: 4.078 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008621/0.6149, allocations: 329.1 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.615, allocations: 81.02 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/0.615, allocations: 3.938 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009998/0.616, allocations: 47.95 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.6161, allocations: 7.984 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.6161, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.6162, allocations: 95.2 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6162, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003667/0.6166, allocations: 96 kB / 1.025 GB, free: 10.83 MB / 0.7794 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.001216/0.6178, allocations: 0.8625 MB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009178/0.6187, allocations: 255.8 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6187, allocations: 0 / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.6191, allocations: 95.88 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.6194, allocations: 4 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.6256, allocations: 2.677 MB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.6258, allocations: 0.6885 MB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004595/0.6263, allocations: 51.98 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.6267, allocations: 23.42 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6267, allocations: 0 / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.293/1.92, allocations: 9.777 MB / 1.039 GB, free: 12.28 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/12.31, allocations: 5.672 kB / 1.039 GB, free: 12.28 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches