Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009741/0.0009741, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001026/0.001026, allocations: 165 kB / 23.82 MB, free: 0.75 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.9167/0.9167, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.845/1.845, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.732e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002041/0.002068, allocations: 0.6264 MB / 0.8122 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.004201, allocations: 1.472 MB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.483e-05/0.004236, allocations: 5.688 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.955e-05/0.004316, allocations: 3.938 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.004362, allocations: 0 / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.00521, allocations: 224.9 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.005314, allocations: 36.44 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.005356, allocations: 4 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.005405, allocations: 16.73 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.005461, allocations: 19.95 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.005476, allocations: 5.375 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.005951, allocations: 267.5 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.005993, allocations: 4 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.006031, allocations: 13.69 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.006445, allocations: 267.3 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.00645, allocations: 0 / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006451, allocations: 0 / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.006456, allocations: 4 kB / 0.8145 GB, free: 14.72 MB / 0.7761 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.0004557/0.006912, allocations: 427 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.006957, allocations: 8.031 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.007016, allocations: 12.88 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.007122, allocations: 117.1 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.007288, allocations: 4.938 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.007299, allocations: 384 / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.007434, allocations: 84.81 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.007441, allocations: 192 / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.00745, allocations: 1.375 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.007459, allocations: 7.938 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/0.007496, allocations: 49.67 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.007602, allocations: 126.9 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.479e-05/0.007666, allocations: 72.73 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.007706, allocations: 61.39 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.007712, allocations: 0 / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.007738, allocations: 45.33 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.007739, allocations: 0 / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002263/0.007965, allocations: 191.4 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.008002, allocations: 89.75 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.00809, allocations: 177.9 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.0081, allocations: 26.23 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.008142, allocations: 132.5 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.008176, allocations: 15.86 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.008209, allocations: 31.36 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.008318, allocations: 0.4884 MB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.00836, allocations: 49.67 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.008389, allocations: 46.31 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.871e-05/0.008468, allocations: 111.7 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.00847, allocations: 0 / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000132/0.008602, allocations: 145.7 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.008639, allocations: 41.69 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.008645, allocations: 0.8125 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.00866, allocations: 0 / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-06/0.008664, allocations: 4.875 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.008671, allocations: 7.938 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.008743, allocations: 13.14 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.008764, allocations: 4 kB / 0.817 GB, free: 11.88 MB / 0.7761 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 8.565e-05/0.00885, allocations: 190.3 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.008865, allocations: 12.89 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.551e-05/0.008881, allocations: 8.438 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.008885, allocations: 10.16 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.008891, allocations: 3.938 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.008893, allocations: 0 / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.008968, allocations: 120.6 kB / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008969, allocations: 0 / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.00897, allocations: 0 / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.008973, allocations: 3.188 kB / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.008984, allocations: 7.984 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.008988, allocations: 4 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008989, allocations: 0 / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.00916, allocations: 208.3 kB / 0.8175 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-06/0.009168, allocations: 4 kB / 0.8175 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.009182, allocations: 7.984 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.783e-05/0.009209, allocations: 4 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.009227, allocations: 4 kB / 0.8175 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.009237, allocations: 13.08 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.009283, allocations: 135.2 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009283, allocations: 0 / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002377/0.009521, allocations: 76.36 kB / 0.8178 GB, free: 11 MB / 0.7761 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.000245/0.009766, allocations: 171.7 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.00994, allocations: 184.1 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.009942, allocations: 0 / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.01001, allocations: 132.8 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.01012, allocations: 11.36 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.01037, allocations: 183.8 kB / 0.8184 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.01041, allocations: 59.3 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.13e-06/0.01041, allocations: 1.094 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.01042, allocations: 8.5 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of SimCode: time 4.5e-07/0.01043, allocations: 0 / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.004104/0.01453, allocations: 2.395 MB / 0.8208 GB, free: 7.805 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.999366862233728]