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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001087/0.001087, allocations: 187 kB / 17.34 MB, free: 5.762 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 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.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.716, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001664/0.7177, allocations: 0.6121 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.7194, allocations: 1.441 MB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.7194, allocations: 0 / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.555e-05/0.7195, allocations: 0 / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.7195, allocations: 11.14 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.7202, allocations: 217.5 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.945e-05/0.7203, allocations: 36.06 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.7203, allocations: 3.109 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.7204, allocations: 14.88 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.783e-05/0.7204, allocations: 25.03 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.7204, allocations: 5.906 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.7209, allocations: 247.5 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.7209, allocations: 4.984 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.721, allocations: 22.48 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.7213, allocations: 211.4 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7213, allocations: 0.8438 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7213, allocations: 3.938 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7213, allocations: 0 / 1.091 GB, free: 3.867 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.0003206/0.7216, allocations: 397.8 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.7217, allocations: 10.05 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.7217, allocations: 12.19 kB / 1.092 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.98e-05/0.7218, allocations: 173.5 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.7218, allocations: 6.031 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.7218, allocations: 3 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.722, allocations: 75.5 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.722, allocations: 0.875 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.722, allocations: 0.75 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.7221, allocations: 0.7188 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.7221, allocations: 36 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.7222, allocations: 167.8 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.635e-05/0.7223, allocations: 67.3 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.7224, allocations: 48.02 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-06/0.7224, allocations: 4.797 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.7224, allocations: 39.97 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.7224, allocations: 0.8438 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003266/0.7228, allocations: 181.1 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.7228, allocations: 85.36 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.628e-05/0.7229, allocations: 111 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.7229, allocations: 27.02 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.7229, allocations: 87.36 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.723, allocations: 32.11 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.723, allocations: 19.42 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.7231, allocations: 318.6 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.7231, allocations: 36.16 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.7232, allocations: 40.39 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.7233, allocations: 144.9 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7233, allocations: 0 / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001977/0.7235, allocations: 152.4 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.7236, allocations: 39.91 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.7236, allocations: 1.578 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7236, allocations: 0 / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.7236, allocations: 0.7188 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7236, allocations: 3.938 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.7237, allocations: 16.36 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.7238, allocations: 5.625 kB / 1.094 GB, free: 1.926 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 9.59e-05/0.7239, allocations: 145.4 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.7239, allocations: 12.73 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.482e-05/0.7239, allocations: 6.406 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7239, allocations: 0.875 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7239, allocations: 4.75 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.7239, allocations: 0.875 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.359e-05/0.724, allocations: 171.9 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.724, allocations: 4.797 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.724, allocations: 4.625 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7241, allocations: 3.938 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.7241, allocations: 3.953 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.7241, allocations: 0.875 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7241, allocations: 0 / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.7243, allocations: 196 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.7244, allocations: 87.36 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.7244, allocations: 2.875 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.7244, allocations: 10.95 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.7244, allocations: 6.875 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.7245, allocations: 6.422 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.7245, allocations: 91.59 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7245, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003651/0.7249, allocations: 76.83 kB / 1.094 GB, free: 1.238 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.0003294/0.7252, allocations: 156.6 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.7255, allocations: 204.8 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7255, allocations: 0.7812 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.7257, allocations: 151.5 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.7258, allocations: 5 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.7261, allocations: 185 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.7263, allocations: 0.6894 MB / 1.096 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-06/0.7263, allocations: 7.438 kB / 1.096 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.7263, allocations: 0 / 1.096 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.2186/0.9449, allocations: 1.717 MB / 1.097 GB, free: 15.95 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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