Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001452, allocations: 108 kB / 16.41 MB, free: 6.461 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.001799/0.001799, allocations: 187 kB / 17.34 MB, free: 5.719 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.551/1.551, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9101/0.9123, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003037/0.9153, allocations: 1.471 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.9169, allocations: 0.7752 MB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.9169, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.9172, allocations: 131.7 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007068/0.918, allocations: 175.6 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.9182, allocations: 79.8 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.9184, allocations: 67.8 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.9185, allocations: 7.938 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.178e-05/0.9186, allocations: 43.88 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.9187, allocations: 79.84 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.9187, allocations: 4 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.9192, allocations: 223.7 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.9193, allocations: 107.7 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.9195, allocations: 83.27 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.92, allocations: 315 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.92, allocations: 3.938 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.895e-06/0.92, allocations: 7.984 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.92, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 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.0008649/0.9209, allocations: 0.5697 MB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.9209, allocations: 12.03 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.921, allocations: 28.56 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.9214, allocations: 378.3 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.9214, allocations: 4.375 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.9214, allocations: 4.375 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.9216, allocations: 89.91 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.9216, allocations: 3.938 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.9217, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.9217, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.9219, allocations: 103.9 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.9225, allocations: 460.7 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.9227, allocations: 106.5 kB / 1.214 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.9228, allocations: 52.88 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.513e-05/0.9229, allocations: 27.92 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.9229, allocations: 30.56 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9229, allocations: 4 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004918/0.9234, allocations: 209.2 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.9235, allocations: 55.39 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.924, allocations: 0.5327 MB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.9241, allocations: 25.7 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.9242, allocations: 156.1 kB / 1.215 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.9243, allocations: 20.02 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.9244, allocations: 37.62 kB / 1.215 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.9246, allocations: 342.8 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.9247, allocations: 95.94 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.9249, allocations: 95.81 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.9253, allocations: 194.7 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9253, allocations: 0 / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004817/0.9258, allocations: 257.2 kB / 1.216 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.9258, allocations: 8 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9258, allocations: 0 / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9258, allocations: 3.984 kB / 1.216 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.926, allocations: 35.91 kB / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.926, allocations: 0 / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.9261, allocations: 15.94 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.9261, allocations: 4 kB / 1.216 GB, free: 5.973 MB / 0.9356 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001574/0.9263, allocations: 169.7 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.9263, allocations: 27.62 kB / 1.216 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.9268, allocations: 171.7 kB / 1.216 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.9268, allocations: 4 kB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9268, allocations: 0 / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.9268, allocations: 4.031 kB / 1.216 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.9271, allocations: 277.4 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.9271, allocations: 3.984 kB / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.9272, allocations: 8 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9272, allocations: 0 / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.9272, allocations: 0 / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.9272, allocations: 4 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9272, allocations: 0 / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.9276, allocations: 259 kB / 1.217 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.9277, allocations: 112.7 kB / 1.217 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.9278, allocations: 4 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.9279, allocations: 11.92 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.9279, allocations: 0 / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.928, allocations: 0 / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004226/0.9284, allocations: 403 kB / 1.217 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9284, allocations: 4.031 kB / 1.217 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004697/0.9289, allocations: 79.98 kB / 1.217 GB, free: 4.363 MB / 0.9356 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.0003606/0.9292, allocations: 147.2 kB / 1.217 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.9296, allocations: 167.9 kB / 1.217 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9296, allocations: 0 / 1.217 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.9297, allocations: 59.91 kB / 1.218 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.93, allocations: 19.38 kB / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008364/0.9309, allocations: 0.5222 MB / 1.218 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.9313, allocations: 0.767 MB / 1.219 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.9314, allocations: 15.44 kB / 1.219 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.9314, allocations: 4 kB / 1.219 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of Templates: time 0.006749/0.9382, allocations: 3.356 MB / 1.222 GB, free: 15.25 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches