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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_10_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_10_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.001192/0.001192, allocations: 105.3 kB / 16.41 MB, free: 5.977 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.001351/0.001352, allocations: 189.1 kB / 17.34 MB, free: 5.582 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.08 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.47/2.47, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 68.12 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9155/0.9168, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001812/0.9186, allocations: 0.6178 MB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.9206, allocations: 1.441 MB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.9206, allocations: 3.938 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.362e-05/0.9207, allocations: 3.938 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.9208, allocations: 7.984 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.9215, allocations: 209.1 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.456e-05/0.9216, allocations: 39.97 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.9217, allocations: 0 / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.9217, allocations: 11.98 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.9218, allocations: 23.91 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.9218, allocations: 4 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.9222, allocations: 255.6 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.9223, allocations: 11.94 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.9223, allocations: 15.91 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.9226, allocations: 216 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9226, allocations: 0 / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9226, allocations: 0 / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9226, allocations: 0 / 1.17 GB, free: 0.9766 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.0004266/0.9231, allocations: 404.7 kB / 1.171 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.9231, allocations: 12.03 kB / 1.171 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.9232, allocations: 4.891 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.9233, allocations: 176.3 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.9233, allocations: 384 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.9233, allocations: 4.375 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.9235, allocations: 73.97 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9235, allocations: 0 / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.9235, allocations: 4 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.9235, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.9236, allocations: 35.97 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.9238, allocations: 169.6 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.9239, allocations: 70.44 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.924, allocations: 48.86 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.924, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.9241, allocations: 42.44 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.9241, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003322/0.9244, allocations: 183.3 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.9245, allocations: 81.11 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.9246, allocations: 122 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.9246, allocations: 25.7 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.9247, allocations: 88.14 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.9248, allocations: 27.73 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.9248, allocations: 21.72 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.925, allocations: 314.8 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.925, allocations: 35.97 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.9251, allocations: 40.28 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.9253, allocations: 144.3 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9253, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001867/0.9255, allocations: 151.5 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.9255, allocations: 41.62 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.9255, allocations: 0 / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.9255, allocations: 0 / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.9255, allocations: 3.938 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.9255, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.9257, allocations: 15.94 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.9257, allocations: 4 kB / 1.172 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.0001099/0.9258, allocations: 151.6 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.9258, allocations: 7.938 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.398e-05/0.9258, allocations: 8.375 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.9258, allocations: 7.969 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.9259, allocations: 0 / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.9259, allocations: 0 / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.926, allocations: 165.6 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.926, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.926, allocations: 4 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.926, allocations: 11.94 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.926, allocations: 0 / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.926, allocations: 3.984 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.926, allocations: 4 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.9263, allocations: 190.8 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.9263, allocations: 96.81 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.9264, allocations: 4 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.376e-05/0.9264, allocations: 4 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.9264, allocations: 16.02 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.9264, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.9265, allocations: 91.27 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9266, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002825/0.9268, allocations: 67.94 kB / 1.173 GB, free: 13.48 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.0002999/0.9271, allocations: 163.1 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002972/0.9275, allocations: 191.3 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9275, allocations: 8 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.9276, allocations: 151.3 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.9278, allocations: 8 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.9281, allocations: 194.4 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.9283, allocations: 0.6885 MB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-06/0.9284, allocations: 7.438 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.9284, allocations: 0 / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of Templates: time 0.003329/0.9317, allocations: 1.709 MB / 1.176 GB, free: 10.29 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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