Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CubicHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_10_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.004958/0.004958, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001167/0.001167, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.473/2.473, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 79.83 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9968/0.9983, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002391/1.001, allocations: 0.6187 MB / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002326/1.003, allocations: 1.385 MB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/1.003, allocations: 0 / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.763e-05/1.003, allocations: 3.938 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/1.003, allocations: 0 / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008414/1.004, allocations: 189.2 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/1.004, allocations: 43.97 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/1.004, allocations: 8 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/1.005, allocations: 15.98 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/1.005, allocations: 27.89 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/1.005, allocations: 4 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/1.005, allocations: 203.7 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/1.005, allocations: 11.94 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/1.005, allocations: 31.78 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/1.006, allocations: 193.8 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.006, allocations: 0 / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.594e-06/1.006, allocations: 0 / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.142e-05/1.006, allocations: 0 / 1.169 GB, free: 1.016 MB / 0.8887 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.0005823/1.006, allocations: 442.7 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.006, allocations: 8.922 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/1.006, allocations: 30.75 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/1.006, allocations: 8.844 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/1.007, allocations: 172.3 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.007, allocations: 4.375 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/1.007, allocations: 384 / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/1.007, allocations: 101.8 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.007, allocations: 4 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/1.007, allocations: 7.938 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/1.007, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/1.007, allocations: 63.89 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/1.007, allocations: 173.6 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/1.007, allocations: 78.53 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.008, allocations: 68.89 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/1.008, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/1.008, allocations: 38.5 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.794e-06/1.008, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0004597/1.008, allocations: 255.2 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.008, allocations: 81.09 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/1.008, allocations: 144.1 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/1.008, allocations: 29.7 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/1.008, allocations: 88.12 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/1.008, allocations: 19.75 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/1.009, allocations: 33.73 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.009, allocations: 314.8 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/1.009, allocations: 107.9 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/1.009, allocations: 99.94 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/1.009, allocations: 281.8 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.009, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003864/1.01, allocations: 328.7 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/1.01, allocations: 71.39 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/1.01, allocations: 64 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.01, allocations: 11.98 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/1.01, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/1.01, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/1.01, allocations: 4 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/1.01, allocations: 7.938 kB / 1.172 GB, free: 13.7 MB / 0.9044 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 0.0001436/1.01, allocations: 147.5 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/1.01, allocations: 15.84 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/1.01, allocations: 8.234 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.01, allocations: 4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.01, allocations: 4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.01, allocations: 0 / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/1.01, allocations: 173.6 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.011, allocations: 7.875 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/1.011, allocations: 4 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.011, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.011, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.011, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.011, allocations: 4 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/1.011, allocations: 230.6 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/1.011, allocations: 92.89 kB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/1.011, allocations: 0 / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/1.011, allocations: 4 kB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/1.011, allocations: 15.97 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/1.011, allocations: 4 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.498e-05/1.011, allocations: 105.9 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/1.011, allocations: 0 / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000349/1.012, allocations: 72.03 kB / 1.173 GB, free: 12.71 MB / 0.9044 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.0008441/1.012, allocations: 0.8091 MB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004303/1.013, allocations: 366.7 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.013, allocations: 0 / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/1.013, allocations: 143.4 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/1.013, allocations: 4 kB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/1.016, allocations: 2.146 MB / 1.176 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/1.016, allocations: 0.6885 MB / 1.177 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.178e-06/1.016, allocations: 3.938 kB / 1.177 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/1.016, allocations: 23.42 kB / 1.177 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/1.016, allocations: 0 / 1.177 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/1.042, allocations: 3.287 MB / 1.18 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.938, allocations: 5.844 kB / 1.18 GB, free: 5.148 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches