Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_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.005798/0.005798, allocations: 102 kB / 15.73 MB, free: 6.039 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.001279/0.001279, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.359/1.359, 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 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.88 kB / 1.054 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8366, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001812/0.8384, allocations: 0.6161 MB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.8404, allocations: 1.435 MB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.8404, allocations: 0 / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.8405, allocations: 3.938 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.356e-05/0.8406, allocations: 4 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007354/0.8413, allocations: 207.5 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.8414, allocations: 35.97 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.8414, allocations: 7.984 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.8415, allocations: 19.92 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.8415, allocations: 19.97 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.8416, allocations: 0 / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.842, allocations: 247.6 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.842, allocations: 15.92 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.8421, allocations: 7.938 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.8424, allocations: 223.5 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8424, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8424, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.8424, allocations: 0 / 1.21 GB, free: 10.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004233/0.8429, allocations: 407.3 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.8429, allocations: 8.031 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.8429, allocations: 34.75 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.843, allocations: 8.859 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.8431, allocations: 176.3 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.8431, allocations: 4.375 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.8432, allocations: 384 / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.8433, allocations: 73.78 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8434, allocations: 3.984 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.8434, allocations: 4 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.8434, allocations: 0 / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/0.8435, allocations: 39.91 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.8436, allocations: 161.7 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.891e-05/0.8437, allocations: 66.5 kB / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.027e-05/0.8438, allocations: 52.86 kB / 1.211 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.8438, allocations: 0 / 1.211 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.8438, allocations: 42.5 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.8438, allocations: 0 / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003173/0.8442, allocations: 187.2 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.8443, allocations: 85.09 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.8444, allocations: 113.9 kB / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.8444, allocations: 29.7 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.8444, allocations: 84.14 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.8445, allocations: 27.64 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.8445, allocations: 17.72 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8446, allocations: 318.8 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.8447, allocations: 31.98 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-05/0.8448, allocations: 36.12 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.8449, allocations: 152.2 kB / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8449, allocations: 0 / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001879/0.8451, allocations: 151.3 kB / 1.212 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.8452, allocations: 39.41 kB / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8452, allocations: 0 / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.8452, allocations: 0 / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.8452, allocations: 0 / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8452, allocations: 4.625 kB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.8453, allocations: 11.89 kB / 1.212 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.8453, allocations: 8 kB / 1.212 GB, free: 8.102 MB / 0.9356 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.0001076/0.8455, allocations: 147.6 kB / 1.212 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.8455, allocations: 11.94 kB / 1.212 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.267e-05/0.8455, allocations: 4.375 kB / 1.212 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.8455, allocations: 0 / 1.212 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8455, allocations: 0 / 1.212 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.8455, allocations: 0 / 1.212 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.8456, allocations: 177.5 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8457, allocations: 7.938 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/0.8457, allocations: 3.938 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.8457, allocations: 4 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.8457, allocations: 4 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.8457, allocations: 7.875 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8457, allocations: 0 / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.8459, allocations: 194.8 kB / 1.213 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.846, allocations: 84.95 kB / 1.213 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.846, allocations: 7.984 kB / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.846, allocations: 4 kB / 1.213 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.8461, allocations: 8.031 kB / 1.213 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.8461, allocations: 4 kB / 1.213 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.8461, allocations: 91.27 kB / 1.213 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8461, allocations: 0 / 1.213 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003056/0.8465, allocations: 75.98 kB / 1.213 GB, free: 7.168 MB / 0.9356 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.0006685/0.8471, allocations: 0.7897 MB / 1.214 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.8474, allocations: 203.3 kB / 1.214 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8474, allocations: 0 / 1.214 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.8476, allocations: 151.3 kB / 1.214 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.8477, allocations: 4 kB / 1.214 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.8482, allocations: 226.4 kB / 1.214 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.8485, allocations: 0.6884 MB / 1.215 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.171e-06/0.8485, allocations: 128 / 1.215 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.8485, allocations: 15.44 kB / 1.215 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.8485, allocations: 0 / 1.215 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.8683, allocations: 3.153 MB / 1.218 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/8.46, allocations: 3.875 kB / 1.218 GB, free: 1.965 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches