Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.005578/0.005578, allocations: 101.8 kB / 15.73 MB, free: 6.016 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.001196/0.001197, allocations: 188.2 kB / 16.67 MB, free: 5.949 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.95 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3339, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001954/0.3359, allocations: 0.6108 MB / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.3383, allocations: 1.437 MB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.3383, allocations: 0 / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.141e-05/0.3384, allocations: 3.938 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.3385, allocations: 4 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.3393, allocations: 213.4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.613e-05/0.3394, allocations: 35.97 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.3395, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.3395, allocations: 19.92 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.3396, allocations: 31.89 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3396, allocations: 3.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.34, allocations: 243.6 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.3401, allocations: 7.984 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.3401, allocations: 23.86 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.3405, allocations: 211.5 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3405, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3405, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3405, allocations: 4 kB / 1.09 GB, free: 15.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004589/0.341, allocations: 400 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.341, allocations: 11.97 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.3411, allocations: 34.75 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.3411, allocations: 4.844 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.3413, allocations: 181.1 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3413, allocations: 384 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3413, allocations: 4.375 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3415, allocations: 77.77 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3415, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3415, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3415, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.51e-05/0.3416, allocations: 43.89 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.3418, allocations: 161.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.3419, allocations: 62.56 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.3419, allocations: 48.86 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.3419, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.342, allocations: 42.5 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.342, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003287/0.3423, allocations: 187.2 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.3424, allocations: 85.09 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.3425, allocations: 113.9 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3425, allocations: 25.7 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.3426, allocations: 88.14 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.3426, allocations: 27.64 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.3427, allocations: 17.72 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3428, allocations: 318.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.3429, allocations: 31.98 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.3429, allocations: 35.97 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3431, allocations: 152.2 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.3431, allocations: 4 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000213/0.3433, allocations: 151.4 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.3434, allocations: 39.25 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3434, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3434, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.3434, allocations: 3.938 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3434, allocations: 0.625 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.3436, allocations: 11.91 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3436, allocations: 15.92 kB / 1.093 GB, free: 12.49 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 (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 prepare postOptimizeDAE: time 0.0001239/0.3437, allocations: 147.6 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.3438, allocations: 7.938 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.654e-05/0.3438, allocations: 8.375 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3438, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3438, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3438, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.3439, allocations: 169.6 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.344, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-06/0.344, allocations: 3.938 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.344, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.344, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.344, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.344, allocations: 3.938 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.3442, allocations: 202.7 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.3443, allocations: 88.89 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.3443, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/0.3444, allocations: 7.984 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.3444, allocations: 4.031 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3444, allocations: 8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.3445, allocations: 91.27 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.41e-07/0.3445, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003407/0.3448, allocations: 71.98 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0008265/0.3457, allocations: 0.7897 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.346, allocations: 203.3 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.346, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3461, allocations: 155.3 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.3463, allocations: 4 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.3469, allocations: 218.5 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3472, allocations: 0.6885 MB / 1.095 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.033e-06/0.3472, allocations: 3.938 kB / 1.095 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.3472, allocations: 15.56 kB / 1.095 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3473, allocations: 0 / 1.095 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.3698, allocations: 3.15 MB / 1.098 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.006, allocations: 3.984 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches