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.001507/0.001507, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001479/0.001479, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.911/0.911, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.1/2.1, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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.412e-06/1.412e-06, allocations: 0 / 0.8794 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.356e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001368/0.001392, allocations: 0.6423 MB / 0.8801 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.003031, allocations: 1.465 MB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.003062, allocations: 3.688 kB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.828e-05/0.00312, allocations: 3.938 kB / 0.8815 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.003161, allocations: 4 kB / 0.8815 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.003855, allocations: 215.3 kB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.003936, allocations: 35.95 kB / 0.8818 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.003976, allocations: 1.781 kB / 0.8818 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.00402, allocations: 23.92 kB / 0.8818 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.004067, allocations: 19.97 kB / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.00408, allocations: 4 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004475/0.004527, allocations: 259.6 kB / 0.882 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.004563, allocations: 8.891 kB / 0.8821 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.004597, allocations: 15.98 kB / 0.8821 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.004962, allocations: 263.3 kB / 0.8823 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004964, allocations: 1.125 kB / 0.8823 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/0.004965, allocations: 0 / 0.8823 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004969, allocations: 0 / 0.8823 GB, free: 3.027 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.0003225/0.005291, allocations: 435 kB / 0.8827 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.005325, allocations: 12.03 kB / 0.8828 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.005357, allocations: 9.953 kB / 0.8828 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.149e-05/0.005438, allocations: 112.6 kB / 0.8829 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.005449, allocations: 4.312 kB / 0.8829 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.005456, allocations: 5.344 kB / 0.8829 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.005555, allocations: 79.92 kB / 0.883 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.005562, allocations: 192 / 0.883 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.005569, allocations: 6.781 kB / 0.883 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005573, allocations: 3.938 kB / 0.883 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.005602, allocations: 41.69 kB / 0.883 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.982e-05/0.005691, allocations: 109.2 kB / 0.8831 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.005747, allocations: 64.75 kB / 0.8832 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.005776, allocations: 49.41 kB / 0.8832 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.00578, allocations: 6.047 kB / 0.8832 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.0058, allocations: 37.38 kB / 0.8833 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 7.51e-07/0.005801, allocations: 0 / 0.8833 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001837/0.005984, allocations: 178.7 kB / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.006019, allocations: 89.11 kB / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.006092, allocations: 170.7 kB / 0.8837 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.006102, allocations: 29.7 kB / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.006145, allocations: 136.5 kB / 0.8838 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.006175, allocations: 23.8 kB / 0.8839 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.006208, allocations: 27.36 kB / 0.8839 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003676/0.006576, allocations: 0.4923 MB / 0.8844 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/0.006613, allocations: 41.69 kB / 0.8844 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.006638, allocations: 38.19 kB / 0.8844 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.306e-05/0.006701, allocations: 105.5 kB / 0.8845 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.006703, allocations: 0 / 0.8845 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001033/0.006807, allocations: 137.1 kB / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.006834, allocations: 37.69 kB / 0.8847 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006839, allocations: 0 / 0.8847 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.006847, allocations: 1.188 kB / 0.8847 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.006847, allocations: 0 / 0.8847 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.006849, allocations: 0 / 0.8847 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.006897, allocations: 17.45 kB / 0.8847 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.006913, allocations: 12 kB / 0.8847 GB, free: 284 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 7.678e-05/0.00699, allocations: 190.3 kB / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.007002, allocations: 11.95 kB / 0.8849 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.129e-05/0.007014, allocations: 8.531 kB / 0.8849 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007016, allocations: 3.938 kB / 0.8849 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007017, allocations: 0 / 0.8849 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.00702, allocations: 3.938 kB / 0.8849 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.386e-05/0.007094, allocations: 109.2 kB / 0.885 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.007095, allocations: 0 / 0.885 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-06/0.007096, allocations: 3.938 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.007097, allocations: 0 / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.007104, allocations: 8 kB / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.007105, allocations: 0 / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007106, allocations: 3.984 kB / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.007243, allocations: 195.7 kB / 0.8853 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.007251, allocations: 7.953 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.00726, allocations: 4 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.00728, allocations: 4 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.007295, allocations: 11.98 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.007303, allocations: 4 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.007338, allocations: 131.2 kB / 0.8854 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007338, allocations: 0 / 0.8854 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002448/0.007583, allocations: 71.86 kB / 0.8855 GB, free: 15.44 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.0002243/0.007807, allocations: 175.1 kB / 0.8856 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.00795, allocations: 182.3 kB / 0.8858 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007951, allocations: 0 / 0.8858 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.008008, allocations: 128.8 kB / 0.8859 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.008122, allocations: 19.8 kB / 0.886 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.008332, allocations: 175.8 kB / 0.8861 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.008361, allocations: 63.34 kB / 0.8862 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.418e-06/0.008366, allocations: 0 / 0.8862 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.008432, allocations: 82.2 kB / 0.8863 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.008433, allocations: 128 / 0.8863 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.003635/0.01207, allocations: 2.424 MB / 0.8886 GB, free: 12.12 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.381585482042283]