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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9178/0.9178, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.162/2.162, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.652e-05, allocations: 3.031 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001009/0.001026, allocations: 0.6346 MB / 0.8788 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.002512, allocations: 1.465 MB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.002539, allocations: 4.656 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.724e-05/0.002596, allocations: 5.328 kB / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.721e-05/0.002633, allocations: 7.875 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.003156, allocations: 220.8 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.895e-05/0.003225, allocations: 32.56 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.003257, allocations: 4 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.003294, allocations: 25.5 kB / 0.8806 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.00333, allocations: 19.97 kB / 0.8806 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.003341, allocations: 4 kB / 0.8806 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.003635, allocations: 259.6 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.003667, allocations: 9.516 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.003693, allocations: 12 kB / 0.8809 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.003939, allocations: 267.3 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003942, allocations: 0 / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003943, allocations: 2.969 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.003946, allocations: 0 / 0.8811 GB, free: 3.332 MB / 0.8386 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.000316/0.004262, allocations: 433.9 kB / 0.8815 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.004293, allocations: 8.031 kB / 0.8815 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.004327, allocations: 8.891 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.479e-05/0.004402, allocations: 112.6 kB / 0.8817 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.004413, allocations: 384 / 0.8817 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.004425, allocations: 4.375 kB / 0.8817 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.004545, allocations: 84.66 kB / 0.8817 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.004554, allocations: 192 / 0.8817 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004563, allocations: 1.719 kB / 0.8817 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.00457, allocations: 7.875 kB / 0.8817 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.004606, allocations: 49.62 kB / 0.8818 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.004706, allocations: 132.5 kB / 0.8819 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.004765, allocations: 72.75 kB / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.004804, allocations: 57.41 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-06/0.004808, allocations: 0 / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.00483, allocations: 33.39 kB / 0.8821 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 5.81e-07/0.004831, allocations: 0 / 0.8821 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002104/0.005041, allocations: 202.8 kB / 0.8823 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.005073, allocations: 93.03 kB / 0.8824 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/0.005143, allocations: 169.9 kB / 0.8825 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.005154, allocations: 29.7 kB / 0.8825 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.005193, allocations: 130.9 kB / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.005221, allocations: 23.84 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.005252, allocations: 31.36 kB / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.005351, allocations: 492.1 kB / 0.8832 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.005386, allocations: 49.69 kB / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.005421, allocations: 45.69 kB / 0.8833 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.005498, allocations: 111.7 kB / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.0055, allocations: 7.938 kB / 0.8834 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001083/0.005608, allocations: 149 kB / 0.8835 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.005633, allocations: 37.69 kB / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005637, allocations: 0 / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.00565, allocations: 4.062 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-06/0.005653, allocations: 0 / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.005659, allocations: 3.938 kB / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.005709, allocations: 15.92 kB / 0.8836 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.005726, allocations: 4 kB / 0.8836 GB, free: 492 kB / 0.8386 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 6.612e-05/0.005792, allocations: 194.3 kB / 0.8838 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.005805, allocations: 15.94 kB / 0.8838 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.204e-05/0.005817, allocations: 4.438 kB / 0.8838 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.01e-07/0.005818, allocations: 0 / 0.8838 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.005821, allocations: 3.938 kB / 0.8838 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.005823, allocations: 0 / 0.8838 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.397e-05/0.005877, allocations: 128.6 kB / 0.8839 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005878, allocations: 4 kB / 0.8839 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.005878, allocations: 3.938 kB / 0.8839 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.005879, allocations: 0 / 0.8839 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.005888, allocations: 8 kB / 0.884 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.00589, allocations: 7.922 kB / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005891, allocations: 0 / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.006039, allocations: 199.7 kB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.006047, allocations: 11.95 kB / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.006057, allocations: 4 kB / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.858e-05/0.006075, allocations: 12.02 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.00609, allocations: 4 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.006097, allocations: 11.94 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.006131, allocations: 127.2 kB / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006131, allocations: 0 / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001841/0.006316, allocations: 79.86 kB / 0.8844 GB, free: 15.59 MB / 0.8542 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.0001994/0.006515, allocations: 163.1 kB / 0.8845 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.00667, allocations: 186.4 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.006672, allocations: 4 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.006733, allocations: 132.8 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.006838, allocations: 12 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.007042, allocations: 171.8 kB / 0.885 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.007072, allocations: 63.28 kB / 0.8851 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.358e-06/0.007077, allocations: 4 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.007088, allocations: 8.5 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of SimCode: time 5.62e-07/0.007089, allocations: 0 / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of Templates: time 0.003219/0.01031, allocations: 2.161 MB / 0.8872 GB, free: 12.61 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.522052010986954]