Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 107 kB / 16.36 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 192.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.008/2.008, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.3 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2362, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001578/0.2379, allocations: 0.6194 MB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2395, allocations: 1.433 MB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.2395, allocations: 4 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.2396, allocations: 7.922 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.834e-05/0.2397, allocations: 7.938 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.2403, allocations: 207.4 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.2404, allocations: 35.97 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.2404, allocations: 4 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.2404, allocations: 23.97 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.2405, allocations: 19.92 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2405, allocations: 0 / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.2409, allocations: 255.6 kB / 0.9537 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.2409, allocations: 11.92 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.2409, allocations: 11.94 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.2412, allocations: 215.5 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2412, allocations: 4 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2412, allocations: 0 / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2412, allocations: 0 / 0.9539 GB, free: 5.211 MB / 0.7325 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.0003809/0.2416, allocations: 410.1 kB / 0.9543 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2417, allocations: 8.031 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.2417, allocations: 8.844 kB / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2418, allocations: 168.3 kB / 0.9545 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.2418, allocations: 384 / 0.9545 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2418, allocations: 4.375 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.242, allocations: 73.97 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.242, allocations: 3.984 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.242, allocations: 0 / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.242, allocations: 0 / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.2421, allocations: 43.92 kB / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.2422, allocations: 161.6 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.042e-05/0.2423, allocations: 66.55 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.2424, allocations: 48.86 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-06/0.2424, allocations: 0 / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2424, allocations: 34.5 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.2424, allocations: 4 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002847/0.2427, allocations: 195.2 kB / 0.9551 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2428, allocations: 81.11 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.2428, allocations: 113.8 kB / 0.9553 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.2429, allocations: 25.7 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.2429, allocations: 88.12 kB / 0.9554 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.2429, allocations: 27.8 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.243, allocations: 25.7 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.2431, allocations: 322.9 kB / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.2431, allocations: 35.97 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.2432, allocations: 31.97 kB / 0.9558 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.2433, allocations: 140.2 kB / 0.9559 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.2433, allocations: 0 / 0.9559 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001816/0.2435, allocations: 159.8 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.2436, allocations: 37.64 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2436, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2436, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.2436, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2436, allocations: 12.03 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/0.2437, allocations: 4 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2437, allocations: 8 kB / 0.9561 GB, free: 2.652 MB / 0.7325 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 9.229e-05/0.2438, allocations: 150.6 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.2438, allocations: 11.84 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/0.2438, allocations: 8.359 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2438, allocations: 4 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2438, allocations: 0 / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2438, allocations: 0 / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.244, allocations: 173.7 kB / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.244, allocations: 0 / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.244, allocations: 0 / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.244, allocations: 3.938 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.244, allocations: 7.984 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.244, allocations: 0 / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.244, allocations: 0 / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.2442, allocations: 202.6 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.2443, allocations: 85.08 kB / 0.9568 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.2443, allocations: 4 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.2444, allocations: 15.92 kB / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.2444, allocations: 0 / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2444, allocations: 4 kB / 0.9568 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.2445, allocations: 95.27 kB / 0.9569 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2445, allocations: 0 / 0.9569 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002581/0.2447, allocations: 64 kB / 0.9569 GB, free: 1.734 MB / 0.7325 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.0002576/0.245, allocations: 163.2 kB / 0.9571 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.2452, allocations: 211.2 kB / 0.9573 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2452, allocations: 3.938 kB / 0.9573 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2454, allocations: 151.3 kB / 0.9574 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.2455, allocations: 10.59 kB / 0.9574 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.2458, allocations: 160.9 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.246, allocations: 0.6883 MB / 0.9583 GB, free: 280 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.202e-06/0.246, allocations: 4 kB / 0.9583 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.246, allocations: 15.56 kB / 0.9583 GB, free: 260 kB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.246, allocations: 0 / 0.9583 GB, free: 260 kB / 0.7325 GB Notification: Performance of Templates: time 0.004144/0.2502, allocations: 2.025 MB / 0.9603 GB, free: 14.24 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches