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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007788/0.007789, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001975/0.001975, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.2 MB / 0.6649 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 75.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6511, allocations: 140.3 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001956/0.6531, allocations: 0.6828 MB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.6549, allocations: 1.465 MB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.6549, allocations: 0 / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.674e-05/0.655, allocations: 1.281 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.655, allocations: 5.484 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.6556, allocations: 159.6 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.731e-05/0.6557, allocations: 32.47 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.6557, allocations: 5.375 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.6557, allocations: 20.16 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.6558, allocations: 21.55 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.6558, allocations: 1.375 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.6562, allocations: 236.1 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.6562, allocations: 11.72 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.6562, allocations: 16.06 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.6565, allocations: 145.7 kB / 0.9523 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6565, allocations: 3.938 kB / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.91e-07/0.6565, allocations: 0 / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.6565, allocations: 0 / 0.9523 GB, free: 7.141 MB / 0.7169 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.0003574/0.6568, allocations: 404.8 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.6569, allocations: 9.25 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.6569, allocations: 7.875 kB / 0.9527 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.826e-05/0.657, allocations: 178.7 kB / 0.9529 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.657, allocations: 1.75 kB / 0.9529 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.6571, allocations: 5.734 kB / 0.9529 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.6572, allocations: 79.38 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.6572, allocations: 1.25 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6573, allocations: 5.438 kB / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6573, allocations: 0 / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.6573, allocations: 36.88 kB / 0.953 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.6575, allocations: 157.6 kB / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/0.6575, allocations: 58.33 kB / 0.9532 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.6576, allocations: 57.17 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.6576, allocations: 1.438 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.6576, allocations: 43.47 kB / 0.9533 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.6576, allocations: 0 / 0.9533 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002847/0.6579, allocations: 189.5 kB / 0.9535 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.658, allocations: 83.48 kB / 0.9536 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.658, allocations: 114.6 kB / 0.9537 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.6581, allocations: 27.02 kB / 0.9537 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.6581, allocations: 85.45 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.6581, allocations: 19.62 kB / 0.9538 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.6582, allocations: 29.05 kB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.6582, allocations: 313.9 kB / 0.9541 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.6583, allocations: 36.59 kB / 0.9542 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.788e-05/0.6583, allocations: 40.31 kB / 0.9542 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.6585, allocations: 142.8 kB / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6585, allocations: 0 / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001581/0.6586, allocations: 146.3 kB / 0.9545 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.6587, allocations: 45.31 kB / 0.9545 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.6587, allocations: 0 / 0.9545 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6587, allocations: 5.531 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.6587, allocations: 0 / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.6587, allocations: 0 / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.6588, allocations: 5.438 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.6589, allocations: 9.984 kB / 0.9546 GB, free: 5.062 MB / 0.7169 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 7.338e-05/0.6589, allocations: 148.2 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.659, allocations: 12.06 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.218e-05/0.659, allocations: 15.19 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.659, allocations: 0 / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.659, allocations: 7.938 kB / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.659, allocations: 0 / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.095e-05/0.6591, allocations: 170.1 kB / 0.9549 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6591, allocations: 1.094 kB / 0.9549 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.6591, allocations: 0 / 0.9549 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6591, allocations: 3.938 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.6591, allocations: 3.875 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6591, allocations: 0 / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6591, allocations: 5.406 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.6593, allocations: 202.7 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.6594, allocations: 83.23 kB / 0.9552 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.6594, allocations: 2.062 kB / 0.9552 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.6594, allocations: 9.359 kB / 0.9552 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.6594, allocations: 5.812 kB / 0.9552 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.6595, allocations: 5.969 kB / 0.9552 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.6595, allocations: 90.59 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6595, allocations: 1.594 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003075/0.6598, allocations: 77.23 kB / 0.9554 GB, free: 4.32 MB / 0.7169 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.0002986/0.6601, allocations: 163.4 kB / 0.9555 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.6603, allocations: 196.6 kB / 0.9557 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6604, allocations: 1.219 kB / 0.9557 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.6605, allocations: 152.1 kB / 0.9558 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.6606, allocations: 4.125 kB / 0.9559 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.6609, allocations: 212.1 kB / 0.9561 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.661, allocations: 0.6864 MB / 0.9567 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-06/0.6611, allocations: 8.75 kB / 0.9567 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6611, allocations: 0 / 0.9567 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of Templates: time 0.00316/0.6642, allocations: 1.709 MB / 0.9584 GB, free: 2.215 MB / 0.7169 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