Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001122/0.001122, allocations: 195.4 kB / 16.25 MB, free: 6.633 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 70.28 kB / 0.9116 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3317, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002661/0.3344, allocations: 1.555 MB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3357, allocations: 0.7401 MB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.3357, allocations: 0 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.336, allocations: 135.8 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.514e-05/0.3361, allocations: 67.83 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.3367, allocations: 159.8 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3368, allocations: 71.75 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.3369, allocations: 4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.3369, allocations: 35.95 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.337, allocations: 83.84 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3371, allocations: 4 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.3374, allocations: 223.7 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.3375, allocations: 59.83 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.3375, allocations: 59.48 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.3378, allocations: 279.4 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3379, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3379, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3379, allocations: 4 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000628/0.3385, allocations: 0.506 MB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3386, allocations: 8.031 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.3386, allocations: 20.66 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.3389, allocations: 255.8 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3389, allocations: 384 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3389, allocations: 384 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.3391, allocations: 85.97 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3391, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3391, allocations: 3.938 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3391, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3393, allocations: 91.86 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.3399, allocations: 396.6 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.34, allocations: 94.52 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3402, allocations: 44.89 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.3402, allocations: 15.98 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3402, allocations: 34.56 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.3403, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004469/0.3407, allocations: 185.2 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3408, allocations: 51.41 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.3411, allocations: 351.2 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3411, allocations: 25.7 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.3412, allocations: 140.1 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.3412, allocations: 7.906 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.3413, allocations: 25.84 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3414, allocations: 338.8 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3416, allocations: 95.94 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3418, allocations: 105.8 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.342, allocations: 216.6 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3421, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003242/0.3424, allocations: 255.3 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3424, allocations: 4 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.3424, allocations: 0 / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3424, allocations: 0 / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.3425, allocations: 8 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3425, allocations: 3.984 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/0.3426, allocations: 15.83 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3426, allocations: 4 kB / 1.074 GB, free: 3.719 MB / 0.8262 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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 0.0001077/0.3427, allocations: 153.7 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3428, allocations: 19.72 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.3431, allocations: 146.6 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3431, allocations: 0 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3431, allocations: 0 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3431, allocations: 0 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.3433, allocations: 245.5 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3433, allocations: 4.031 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.3434, allocations: 8 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3434, allocations: 0 / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.3434, allocations: 0 / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3434, allocations: 0 / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3434, allocations: 3.984 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3437, allocations: 243 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.3437, allocations: 104.8 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3438, allocations: 0 / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.3439, allocations: 7.984 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3439, allocations: 0 / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3439, allocations: 0 / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002151/0.3441, allocations: 249.9 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3441, allocations: 0 / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003163/0.3445, allocations: 67.98 kB / 1.076 GB, free: 2.395 MB / 0.8262 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0002962/0.3448, allocations: 167.1 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.3451, allocations: 159.9 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3451, allocations: 0 / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3452, allocations: 47.91 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3456, allocations: 16.38 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.3462, allocations: 408 kB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.3465, allocations: 0.7353 MB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.002e-05/0.3465, allocations: 24.55 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.3466, allocations: 15.44 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3466, allocations: 0 / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of Templates: time 0.004741/0.3513, allocations: 2.047 MB / 1.079 GB, free: 14.73 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches