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.0009681/0.0009681, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001307/0.001307, allocations: 161 kB / 24.17 MB, free: 328 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.9439/0.9439, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.889/1.889, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.272e-06/1.272e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.027e-05, allocations: 6.219 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00142/0.00145, allocations: 0.644 MB / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.002991, allocations: 1.479 MB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.003015, allocations: 1.531 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.206e-05/0.003067, allocations: 5.922 kB / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.003102, allocations: 3.938 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.003735, allocations: 221.8 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.436e-05/0.003809, allocations: 37.61 kB / 0.7624 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.003845, allocations: 4 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.003885, allocations: 17.14 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.003928, allocations: 26.86 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.003939, allocations: 0 / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.00425, allocations: 265.3 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.00428, allocations: 15.2 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.004301, allocations: 8.703 kB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.004537, allocations: 267.4 kB / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004539, allocations: 0 / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.21e-07/0.00454, allocations: 1.25 kB / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.004543, allocations: 3.938 kB / 0.763 GB, free: 3.621 MB / 0.7136 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.0002711/0.004814, allocations: 302.2 kB / 0.7633 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.004843, allocations: 12.02 kB / 0.7633 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.004869, allocations: 6.188 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.117e-05/0.00494, allocations: 109.8 kB / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.004951, allocations: 4.375 kB / 0.7634 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.004961, allocations: 1.031 kB / 0.7634 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.00507, allocations: 79.3 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.005075, allocations: 192 / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.005081, allocations: 1 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.005088, allocations: 7.922 kB / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.489e-05/0.005113, allocations: 46.94 kB / 0.7635 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.99e-05/0.005173, allocations: 63.81 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.005225, allocations: 60.27 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.005252, allocations: 47.8 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-06/0.005255, allocations: 0 / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.005274, allocations: 34.56 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 4.61e-07/0.005274, allocations: 0.75 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001473/0.005422, allocations: 166.7 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.00547, allocations: 81.86 kB / 0.764 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.005523, allocations: 115.3 kB / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.005532, allocations: 26.45 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.005552, allocations: 92.12 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.005586, allocations: 21.94 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.005614, allocations: 25.69 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.005712, allocations: 318.8 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.005743, allocations: 44.52 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.005765, allocations: 37.69 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.989e-05/0.005825, allocations: 105 kB / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005826, allocations: 0 / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.318e-05/0.00591, allocations: 129 kB / 0.7648 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.005938, allocations: 40.03 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.005942, allocations: 0 / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.005956, allocations: 3.25 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.669e-06/0.00596, allocations: 0 / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.005963, allocations: 4 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.00601, allocations: 11.88 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.006025, allocations: 7.984 kB / 0.7649 GB, free: 1.418 MB / 0.7136 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.559e-05/0.00609, allocations: 150.4 kB / 0.765 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.006101, allocations: 8 kB / 0.765 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.185e-05/0.006112, allocations: 4.438 kB / 0.765 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006114, allocations: 2.875 kB / 0.765 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.006115, allocations: 0 / 0.765 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.006118, allocations: 0 / 0.765 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.196e-05/0.00618, allocations: 77.81 kB / 0.7651 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.00618, allocations: 0 / 0.7651 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.006181, allocations: 0 / 0.7651 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.006182, allocations: 0 / 0.7651 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.006191, allocations: 8 kB / 0.7651 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006191, allocations: 1.5 kB / 0.7651 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006192, allocations: 0 / 0.7651 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.006394, allocations: 174 kB / 0.7653 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.006402, allocations: 7.953 kB / 0.7653 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.006412, allocations: 5.469 kB / 0.7653 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.006437, allocations: 11.98 kB / 0.7653 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.00645, allocations: 0 / 0.7653 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.006457, allocations: 4 kB / 0.7653 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.59e-05/0.006473, allocations: 18.11 kB / 0.7653 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006473, allocations: 4 kB / 0.7653 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002418/0.006715, allocations: 71.88 kB / 0.7654 GB, free: 0.8125 MB / 0.7136 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.0002271/0.006942, allocations: 160.9 kB / 0.7656 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.007077, allocations: 168.2 kB / 0.7657 GB, free: 468 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.007079, allocations: 4.594 kB / 0.7657 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.007134, allocations: 130.7 kB / 0.7659 GB, free: 312 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.546e-05/0.007199, allocations: 11.94 kB / 0.7659 GB, free: 300 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.007411, allocations: 178.7 kB / 0.766 GB, free: 88 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.83e-05/0.00744, allocations: 55.36 kB / 0.7661 GB, free: 12 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.711e-06/0.007445, allocations: 0 / 0.7661 GB, free: 12 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.007524, allocations: 67.36 kB / 0.7662 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.007524, allocations: 0 / 0.7662 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.003682/0.01121, allocations: 2.361 MB / 0.7685 GB, free: 13.69 MB / 0.7292 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: 5.004462990909815]