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.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.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.004947/0.004947, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001065/0.001065, allocations: 194.4 kB / 16.67 MB, free: 5.93 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.161/2.161, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7652/0.7663, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001607/0.768, allocations: 0.6286 MB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.7684, allocations: 208.5 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.7684, allocations: 1 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.7685, allocations: 0 / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.7686, allocations: 19.98 kB / 1.088 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.7688, allocations: 64.39 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.012e-05/0.7689, allocations: 30.27 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.7689, allocations: 3.594 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.769, allocations: 16.53 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.769, allocations: 19.97 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.7691, allocations: 6.875 kB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.7693, allocations: 108.8 kB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.7693, allocations: 11.7 kB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.7693, allocations: 12.98 kB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.7695, allocations: 109.5 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7695, allocations: 0 / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7695, allocations: 3.938 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.7695, allocations: 0.6875 kB / 1.089 GB, free: 4.594 MB / 0.8575 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.0004771/0.77, allocations: 365.6 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7701, allocations: 10.19 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.7701, allocations: 36.48 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.7701, allocations: 6.453 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.7702, allocations: 175.9 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.7703, allocations: 5.219 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.7703, allocations: 3.219 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.7704, allocations: 51.89 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.7705, allocations: 5.031 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.7705, allocations: 0 / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.7705, allocations: 5.688 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.7706, allocations: 33.72 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.7709, allocations: 251.5 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.7711, allocations: 71.28 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.7712, allocations: 29.77 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.7712, allocations: 0.9688 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.7712, allocations: 32.41 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.051e-06/0.7712, allocations: 0 / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.02982/0.8011, allocations: 1.614 MB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.8011, allocations: 53.23 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.8012, allocations: 116.7 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.8013, allocations: 26.42 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.8014, allocations: 86.8 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/0.8014, allocations: 33.89 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.8017, allocations: 24.34 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.8017, allocations: 325.8 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.8023, allocations: 141.8 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.8028, allocations: 141.5 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.8039, allocations: 300.5 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.8039, allocations: 0 / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001267/0.8051, allocations: 331.6 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.8052, allocations: 5.547 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8052, allocations: 4.531 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.8052, allocations: 4.625 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.8069, allocations: 60.81 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.8069, allocations: 5.594 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.8084, allocations: 44.8 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.8085, allocations: 8.312 kB / 1.093 GB, free: 2.387 MB / 0.8575 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.0001816/0.8087, allocations: 116.5 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.8088, allocations: 6.969 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.8089, allocations: 19.31 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8089, allocations: 5.578 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8089, allocations: 0.8125 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8089, allocations: 0.5625 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006174/0.8151, allocations: 0.846 MB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8151, allocations: 4.922 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.8164, allocations: 57.14 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.8164, allocations: 1.25 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.8164, allocations: 11.27 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.8165, allocations: 1.562 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8165, allocations: 0.9375 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/0.8175, allocations: 312.8 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.8175, allocations: 84.16 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.8176, allocations: 14.52 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.8187, allocations: 39.08 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.8187, allocations: 9.016 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.8188, allocations: 4.391 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.8188, allocations: 99.5 kB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8188, allocations: 0.9062 kB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005134/0.8194, allocations: 92.33 kB / 1.095 GB, free: 1.453 MB / 0.8575 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.001397/0.8208, allocations: 0.8749 MB / 1.095 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.8219, allocations: 241.2 kB / 1.096 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8219, allocations: 0 / 1.096 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.8223, allocations: 96.19 kB / 1.096 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.8226, allocations: 14.78 kB / 1.096 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00692/0.8296, allocations: 2.674 MB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.8299, allocations: 0.6889 MB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004454/0.8303, allocations: 49.39 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.8308, allocations: 26.22 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of SimCode: time 7.32e-07/0.8308, allocations: 0 / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.8648, allocations: 9.803 MB / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.9, allocations: 7.469 kB / 1.109 GB, free: 13.45 MB / 0.8731 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