Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SmoothInterpolation,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_10_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.006479/0.006479, allocations: 99.61 kB / 15.73 MB, free: 6.031 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.001283/0.001283, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.387/1.387, 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.314/2.314, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 67.89 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7117, allocations: 151.6 MB / 1.166 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001586/0.7134, allocations: 0.6136 MB / 1.167 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.7153, allocations: 1.43 MB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.7153, allocations: 0 / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.7154, allocations: 7.938 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.7154, allocations: 7.938 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.7161, allocations: 212.6 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.7162, allocations: 35.97 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.7162, allocations: 4 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.7163, allocations: 15.92 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.7163, allocations: 23.91 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.7164, allocations: 4 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003985/0.7168, allocations: 247.7 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.7168, allocations: 11.92 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.7168, allocations: 15.92 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.7171, allocations: 223.5 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7172, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7172, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7172, allocations: 0 / 1.169 GB, free: 1.027 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004232/0.7176, allocations: 400.7 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.7176, allocations: 8.922 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.7177, allocations: 42.75 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.7177, allocations: 8.891 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.7178, allocations: 168.3 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.7179, allocations: 8.312 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.7179, allocations: 4.359 kB / 1.17 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.718, allocations: 77.78 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.718, allocations: 0 / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.7181, allocations: 0 / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.7181, allocations: 3.984 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.029e-05/0.7181, allocations: 35.98 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.7183, allocations: 165.6 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.7184, allocations: 66.48 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.7185, allocations: 48.86 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.7185, allocations: 4 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.7185, allocations: 38.44 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.7185, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003094/0.7188, allocations: 187.3 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.7189, allocations: 81.11 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.719, allocations: 109.8 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.719, allocations: 29.7 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.7191, allocations: 88.12 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.7191, allocations: 23.75 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.7192, allocations: 29.64 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7193, allocations: 310.8 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.7194, allocations: 44 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.7194, allocations: 35.97 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.7196, allocations: 136.8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7196, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001905/0.7198, allocations: 159.4 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.7198, allocations: 37.69 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7198, allocations: 7.938 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.7198, allocations: 0 / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.7199, allocations: 0 / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.7199, allocations: 4 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.72, allocations: 19.94 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.72, allocations: 4 kB / 1.171 GB, free: 14.41 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: 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.0001086/0.7201, allocations: 153.7 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.7201, allocations: 7.938 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.7201, allocations: 8.359 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.7202, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.7202, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.7202, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.7203, allocations: 169.6 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7203, allocations: 4 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-06/0.7203, allocations: 3.938 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.7203, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.7203, allocations: 7.984 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.7203, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7203, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.7206, allocations: 190.8 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.7206, allocations: 92.88 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.7207, allocations: 8.031 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/0.7207, allocations: 4 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.7207, allocations: 15.92 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.7207, allocations: 4 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.7208, allocations: 91.27 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7208, allocations: 0 / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002786/0.7211, allocations: 67.94 kB / 1.172 GB, free: 13.49 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: 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.0007181/0.7218, allocations: 0.7974 MB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.7221, allocations: 195.3 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7221, allocations: 4 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.7222, allocations: 151.3 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.7224, allocations: 8 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.7228, allocations: 222.5 kB / 1.173 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.7231, allocations: 0.6885 MB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.582e-06/0.7231, allocations: 3.984 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.7231, allocations: 11.44 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.7231, allocations: 0 / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.954/2.677, allocations: 3.102 MB / 1.177 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.443/12.12, allocations: 13.02 kB / 1.177 GB, free: 8.305 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches