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.00152/0.00152, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001466/0.001466, allocations: 173 kB / 23.49 MB, free: 1.055 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.9424/0.9424, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.119/2.119, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.944e-06/1.944e-06, allocations: 0 / 0.8782 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.287e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002051/0.002084, allocations: 0.6395 MB / 0.8789 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.004304, allocations: 1.471 MB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.00435, allocations: 0 / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.81e-05/0.004418, allocations: 3.938 kB / 0.8803 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.004464, allocations: 0 / 0.8803 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009126/0.005377, allocations: 217.5 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.005489, allocations: 35.95 kB / 0.8805 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.00554, allocations: 7.984 kB / 0.8806 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.134e-05/0.005591, allocations: 20.42 kB / 0.8806 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.005646, allocations: 17.3 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.005661, allocations: 4 kB / 0.8806 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005033/0.006164, allocations: 259.6 kB / 0.8808 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-05/0.006254, allocations: 8.812 kB / 0.8809 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.006302, allocations: 8 kB / 0.8809 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.00673, allocations: 275.3 kB / 0.8811 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006733, allocations: 1.438 kB / 0.8811 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/0.006735, allocations: 0 / 0.8811 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.00674, allocations: 0 / 0.8811 GB, free: 3.637 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.0003534/0.007093, allocations: 431.4 kB / 0.8815 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.007129, allocations: 12.03 kB / 0.8815 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.007173, allocations: 8.891 kB / 0.8816 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.00726, allocations: 112.6 kB / 0.8817 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.007271, allocations: 4.375 kB / 0.8817 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.007283, allocations: 12.25 kB / 0.8817 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.007406, allocations: 87.92 kB / 0.8818 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.007413, allocations: 192 / 0.8818 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.007424, allocations: 4.359 kB / 0.8818 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.007432, allocations: 3.938 kB / 0.8818 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.007469, allocations: 45.69 kB / 0.8818 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.00757, allocations: 124.5 kB / 0.8819 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.007632, allocations: 76.73 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.007671, allocations: 57.34 kB / 0.8821 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.007676, allocations: 4 kB / 0.8821 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.007698, allocations: 33.39 kB / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.007698, allocations: 0 / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002203/0.007919, allocations: 198.8 kB / 0.8823 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.007959, allocations: 89.05 kB / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.008044, allocations: 165.9 kB / 0.8825 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.008056, allocations: 29.7 kB / 0.8826 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.008091, allocations: 130.9 kB / 0.8827 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.008122, allocations: 27.8 kB / 0.8827 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.008152, allocations: 23.38 kB / 0.8827 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.008321, allocations: 0.4884 MB / 0.8832 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.801e-05/0.008359, allocations: 53.66 kB / 0.8833 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.00839, allocations: 49.69 kB / 0.8833 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.008465, allocations: 111.2 kB / 0.8834 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.008466, allocations: 0 / 0.8834 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001101/0.008576, allocations: 145.1 kB / 0.8835 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.008602, allocations: 37.69 kB / 0.8836 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.008606, allocations: 0 / 0.8836 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.008618, allocations: 0 / 0.8836 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.008618, allocations: 0 / 0.8836 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.008624, allocations: 3.938 kB / 0.8836 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.008681, allocations: 15.92 kB / 0.8836 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.008697, allocations: 8.062 kB / 0.8836 GB, free: 0.7852 MB / 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 7.076e-05/0.008768, allocations: 198.2 kB / 0.8838 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.00878, allocations: 11.95 kB / 0.8838 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.117e-05/0.008791, allocations: 4.438 kB / 0.8838 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008793, allocations: 0 / 0.8838 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.008797, allocations: 7.875 kB / 0.8838 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.0088, allocations: 0 / 0.8838 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.098e-05/0.008861, allocations: 124.6 kB / 0.8839 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.008864, allocations: 8 kB / 0.884 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-07/0.008864, allocations: 0 / 0.884 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008866, allocations: 4 kB / 0.884 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.008874, allocations: 4 kB / 0.884 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.008874, allocations: 0 / 0.884 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008875, allocations: 0 / 0.884 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.009032, allocations: 212.3 kB / 0.8842 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-06/0.00904, allocations: 11.95 kB / 0.8842 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.009053, allocations: 4 kB / 0.8842 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.009073, allocations: 4 kB / 0.8842 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.009089, allocations: 7.922 kB / 0.8842 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.009097, allocations: 11.94 kB / 0.8842 GB, free: 100 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.009142, allocations: 131.2 kB / 0.8843 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009142, allocations: 4.031 kB / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000197/0.009339, allocations: 75.86 kB / 0.8844 GB, free: 15.89 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.0002339/0.009573, allocations: 167.1 kB / 0.8846 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.00974, allocations: 186.4 kB / 0.8847 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.009742, allocations: 0 / 0.8847 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.009805, allocations: 132.8 kB / 0.8849 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.009917, allocations: 8 kB / 0.8849 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.01015, allocations: 179.8 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.01018, allocations: 67.41 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.16e-06/0.01019, allocations: 7.938 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.018e-05/0.0102, allocations: 8.5 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.0102, allocations: 0 / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.003534/0.01373, allocations: 2.137 MB / 0.8872 GB, free: 12.91 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.2938234261237085]