Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_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.005468/0.005467, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.001316/0.001316, allocations: 195.3 kB / 16.68 MB, free: 5.969 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.524/2.524, allocations: 469.8 MB / 0.7425 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.91 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7159, allocations: 159.1 MB / 1.22 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001596/0.7176, allocations: 0.6361 MB / 1.221 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004187/0.718, allocations: 199.2 kB / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.7181, allocations: 0 / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.7181, allocations: 3.938 kB / 1.221 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.7182, allocations: 11.88 kB / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.7184, allocations: 79.73 kB / 1.221 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.7185, allocations: 23.98 kB / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.7185, allocations: 4 kB / 1.221 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.7186, allocations: 15.86 kB / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.7186, allocations: 27.91 kB / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.7187, allocations: 0 / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.7188, allocations: 111.7 kB / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.7189, allocations: 7.984 kB / 1.221 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.7189, allocations: 15.88 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.7191, allocations: 102.5 kB / 1.221 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7191, allocations: 3.938 kB / 1.221 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7191, allocations: 0 / 1.221 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7191, allocations: 0 / 1.221 GB, free: 0.75 MB / 0.9356 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.0005239/0.7196, allocations: 380.1 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.7197, allocations: 8.031 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.7197, allocations: 34.73 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.7197, allocations: 12.89 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.7199, allocations: 164.4 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.7199, allocations: 384 / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.7199, allocations: 4.375 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.7201, allocations: 54.22 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.7201, allocations: 4.156 kB / 1.222 GB, free: 16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.7201, allocations: 15.94 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7201, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.7203, allocations: 31.91 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.7206, allocations: 245 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.7208, allocations: 78.41 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.7209, allocations: 24.92 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.7209, allocations: 4 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.7209, allocations: 34.56 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 3.888e-06/0.7209, allocations: 0 / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.02644/0.7474, allocations: 1.613 MB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.7474, allocations: 51.41 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.7476, allocations: 121.8 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.7476, allocations: 25.7 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.7477, allocations: 84.14 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.7478, allocations: 27.75 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.748, allocations: 29.7 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7481, allocations: 322.8 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.7486, allocations: 139.9 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.7491, allocations: 144.3 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009932/0.7501, allocations: 308.8 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.7501, allocations: 0 / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001174/0.7513, allocations: 329.5 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.7513, allocations: 11.94 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7513, allocations: 4 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.7513, allocations: 0 / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.7528, allocations: 63.92 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.7529, allocations: 4.062 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.7542, allocations: 43.95 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.7543, allocations: 4 kB / 1.226 GB, free: 12.14 MB / 0.9512 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.0001712/0.7544, allocations: 117.8 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.7545, allocations: 11.95 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.7546, allocations: 16.8 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7547, allocations: 0 / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7547, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7547, allocations: 0 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.7603, allocations: 0.8338 MB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7603, allocations: 7.984 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.7614, allocations: 55.88 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7614, allocations: 0 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.7615, allocations: 7.984 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.7615, allocations: 3.938 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7615, allocations: 0 / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009175/0.7624, allocations: 329.1 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.7625, allocations: 85.06 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.7626, allocations: 8.062 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.7636, allocations: 43.89 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.7636, allocations: 11.98 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.7637, allocations: 0 / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.889e-05/0.7637, allocations: 99.3 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7638, allocations: 0 / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000363/0.7641, allocations: 91.94 kB / 1.227 GB, free: 10.32 MB / 0.9512 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.001294/0.7654, allocations: 0.8784 MB / 1.228 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009454/0.7664, allocations: 243.8 kB / 1.228 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7664, allocations: 0 / 1.228 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.7668, allocations: 100 kB / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.7671, allocations: 8 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/0.7735, allocations: 2.678 MB / 1.231 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.7738, allocations: 0.6924 MB / 1.232 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004097/0.7743, allocations: 48 kB / 1.232 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.7747, allocations: 19.42 kB / 1.232 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.7747, allocations: 0 / 1.232 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.944/2.718, allocations: 9.808 MB / 1.241 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.934/11.65, allocations: 14.17 kB / 1.241 GB, free: 11.74 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches