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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_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_latest_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.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001726/0.001726, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 60.83 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3692, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001782/0.371, allocations: 0.6737 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3729, allocations: 1.48 MB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.3729, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.928e-05/0.373, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.373, allocations: 4 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.3736, allocations: 155.7 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.3737, allocations: 31.97 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.3737, allocations: 4 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.128e-05/0.3738, allocations: 15.92 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.3738, allocations: 31.89 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3739, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.3742, allocations: 239.6 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.3743, allocations: 7.938 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.3743, allocations: 19.86 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.3746, allocations: 211.6 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3746, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3746, allocations: 4 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3747, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 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.0004418/0.3751, allocations: 409.3 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3751, allocations: 8.031 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.3752, allocations: 4.938 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3753, allocations: 172.2 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.3753, allocations: 4.375 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3754, allocations: 384 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3755, allocations: 77.97 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3755, allocations: 0 / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3756, allocations: 0 / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3756, allocations: 0 / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.022e-05/0.3756, allocations: 43.97 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.3758, allocations: 165.6 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.3759, allocations: 70.5 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.376, allocations: 48.86 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.376, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.376, allocations: 38.5 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/0.376, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003207/0.3764, allocations: 191.2 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3764, allocations: 81.09 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.3765, allocations: 114.1 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3765, allocations: 25.7 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.3766, allocations: 88.08 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.3766, allocations: 23.7 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3767, allocations: 17.72 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3768, allocations: 322.8 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.3768, allocations: 36.02 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.3769, allocations: 36.28 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.377, allocations: 148.3 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.377, allocations: 0 / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001788/0.3772, allocations: 147.5 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.3773, allocations: 41.62 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3773, allocations: 0 / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3773, allocations: 4 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.505e-06/0.3773, allocations: 3.938 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3773, allocations: 4 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3775, allocations: 15.84 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.3775, allocations: 15.92 kB / 1.073 GB, free: 5.363 MB / 0.8262 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.0001114/0.3776, allocations: 149.1 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.3776, allocations: 7.938 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/0.3777, allocations: 4.375 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3777, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3777, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3777, allocations: 4 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3778, allocations: 177.5 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3778, allocations: 0 / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-07/0.3778, allocations: 0 / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3778, allocations: 3.938 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3778, allocations: 4 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3779, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3779, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.3782, allocations: 190.8 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.3782, allocations: 88.95 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.3782, allocations: 4.031 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.505e-05/0.3783, allocations: 11.92 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.3783, allocations: 4 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3783, allocations: 4 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.837e-05/0.3784, allocations: 91.27 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3784, allocations: 0 / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002888/0.3787, allocations: 75.98 kB / 1.073 GB, free: 4.453 MB / 0.8262 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.0003195/0.379, allocations: 159.2 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.3794, allocations: 199.3 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3794, allocations: 0 / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3795, allocations: 155.3 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.3797, allocations: 13.42 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.38, allocations: 170.7 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3803, allocations: 0.7005 MB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.813e-06/0.3803, allocations: 0 / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.075e-05/0.3803, allocations: 7.438 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.3803, allocations: 0 / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of Templates: time 0.004459/0.3848, allocations: 1.983 MB / 1.077 GB, free: 1.004 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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