Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.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.0008181/0.0008181, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000788/0.000788, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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.9088/0.9088, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.8 MB / 0.6228 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.396e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002004/0.002038, allocations: 1.486 MB / 0.9836 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003053, allocations: 0.7672 MB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.003094, allocations: 4 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.003311, allocations: 131.7 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004769/0.003787, allocations: 190.1 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 9.893e-05/0.003886, allocations: 75.73 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.003982, allocations: 67.8 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.004069, allocations: 4 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.004125, allocations: 43.88 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004229, allocations: 87.88 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.004244, allocations: 4 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.004537, allocations: 243.6 kB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.004645, allocations: 103.7 kB / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.004686, allocations: 47.73 kB / 0.9853 GB, free: 14.85 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.005042, allocations: 358.9 kB / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005045, allocations: 4 kB / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.005047, allocations: 0 / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.005051, allocations: 0 / 0.9857 GB, free: 14.5 MB / 0.948 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.0005473/0.005598, allocations: 0.5002 MB / 0.9862 GB, free: 13.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.00564, allocations: 8.031 kB / 0.9862 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.005702, allocations: 40.7 kB / 0.9862 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.006007, allocations: 324 kB / 0.9865 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.006019, allocations: 384 / 0.9865 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.006031, allocations: 8.375 kB / 0.9865 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.006187, allocations: 82.22 kB / 0.9866 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.006195, allocations: 192 / 0.9866 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.006203, allocations: 384 / 0.9866 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006209, allocations: 3.938 kB / 0.9866 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.006337, allocations: 103.9 kB / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.006735, allocations: 396.5 kB / 0.9871 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.006867, allocations: 110.5 kB / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.006929, allocations: 52.89 kB / 0.9873 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.006968, allocations: 19.98 kB / 0.9873 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.006988, allocations: 34.5 kB / 0.9873 GB, free: 12.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.006989, allocations: 3.938 kB / 0.9873 GB, free: 12.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002949/0.007284, allocations: 217.3 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.007314, allocations: 55.53 kB / 0.9876 GB, free: 12.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.007694, allocations: 0.5327 MB / 0.9881 GB, free: 11.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.007704, allocations: 25.7 kB / 0.9881 GB, free: 11.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.007789, allocations: 168 kB / 0.9883 GB, free: 11.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.007807, allocations: 7.953 kB / 0.9883 GB, free: 11.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.007856, allocations: 37.7 kB / 0.9883 GB, free: 11.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.007951, allocations: 342.8 kB / 0.9887 GB, free: 11.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.008055, allocations: 91.94 kB / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.008145, allocations: 103.9 kB / 0.9888 GB, free: 11.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.008311, allocations: 180.5 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008313, allocations: 0 / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002431/0.008556, allocations: 264.1 kB / 0.9893 GB, free: 10.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.008572, allocations: 11.92 kB / 0.9893 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.008578, allocations: 0 / 0.9893 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.008592, allocations: 0 / 0.9893 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.008693, allocations: 31.98 kB / 0.9893 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.0087, allocations: 7.938 kB / 0.9893 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.008739, allocations: 11.92 kB / 0.9893 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.008746, allocations: 7.984 kB / 0.9893 GB, free: 10.59 MB / 0.948 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.0001067/0.008853, allocations: 165.7 kB / 0.9895 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.008882, allocations: 35.7 kB / 0.9895 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.00909, allocations: 167.9 kB / 0.9897 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009092, allocations: 0 / 0.9897 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.009096, allocations: 4.031 kB / 0.9897 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.009098, allocations: 0 / 0.9897 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.009255, allocations: 213.2 kB / 0.9899 GB, free: 9.977 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009256, allocations: 3.938 kB / 0.9899 GB, free: 9.973 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.009287, allocations: 11.98 kB / 0.9899 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009289, allocations: 0 / 0.9899 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.009296, allocations: 3.938 kB / 0.9899 GB, free: 9.957 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.009298, allocations: 4 kB / 0.9899 GB, free: 9.953 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009299, allocations: 0 / 0.9899 GB, free: 9.953 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.009484, allocations: 259.3 kB / 0.9902 GB, free: 9.684 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.009528, allocations: 35.8 kB / 0.9902 GB, free: 9.648 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.009545, allocations: 11.88 kB / 0.9902 GB, free: 9.637 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.009592, allocations: 7.984 kB / 0.9902 GB, free: 9.629 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.009626, allocations: 4 kB / 0.9902 GB, free: 9.625 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.009629, allocations: 0 / 0.9902 GB, free: 9.625 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002827/0.009911, allocations: 403 kB / 0.9906 GB, free: 9.234 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009912, allocations: 0 / 0.9906 GB, free: 9.234 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002542/0.01017, allocations: 71.94 kB / 0.9907 GB, free: 9.164 MB / 0.948 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.0002304/0.0104, allocations: 171 kB / 0.9908 GB, free: 8.988 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.01061, allocations: 159.9 kB / 0.991 GB, free: 8.832 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01061, allocations: 0 / 0.991 GB, free: 8.832 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.01067, allocations: 51.97 kB / 0.991 GB, free: 8.781 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01095, allocations: 13.5 kB / 0.991 GB, free: 8.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.01152, allocations: 0.5367 MB / 0.9916 GB, free: 8.199 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.01163, allocations: 153.5 kB / 0.9917 GB, free: 8.027 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.01166, allocations: 20.5 kB / 0.9917 GB, free: 8.008 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.01166, allocations: 4 kB / 0.9917 GB, free: 8.004 MB / 0.948 GB Notification: Performance of Templates: time 0.004529/0.01619, allocations: 3.462 MB / 0.9951 GB, free: 4.559 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.984208867885172]