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.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.001822/0.001822, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001995/0.001995, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.203 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.369/3.369, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.124e-05, allocations: 6.016 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003069/0.0031, allocations: 1.501 MB / 0.8789 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.004649, allocations: 0.777 MB / 0.8797 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.004691, allocations: 1.75 kB / 0.8797 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.004986, allocations: 128.9 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006565/0.005642, allocations: 192.9 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.005824, allocations: 78.59 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.005948, allocations: 63.88 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.006045, allocations: 7.938 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.888e-05/0.006134, allocations: 43.94 kB / 0.8802 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.006288, allocations: 91.81 kB / 0.8803 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.006311, allocations: 4 kB / 0.8803 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.006773, allocations: 237.3 kB / 0.8805 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.006931, allocations: 111.7 kB / 0.8806 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.007008, allocations: 39.8 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.007525, allocations: 351 kB / 0.881 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.007529, allocations: 3.938 kB / 0.881 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00753, allocations: 0.625 kB / 0.881 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.007535, allocations: 0.75 kB / 0.881 GB, free: 3.059 MB / 0.8386 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.0009022/0.008437, allocations: 0.6114 MB / 0.8816 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.008473, allocations: 8.812 kB / 0.8816 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.008547, allocations: 32.75 kB / 0.8816 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.009023, allocations: 250.9 kB / 0.8818 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.009036, allocations: 384 / 0.8818 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.009048, allocations: 4.375 kB / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.009191, allocations: 42.25 kB / 0.8819 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.009202, allocations: 4.172 kB / 0.8819 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.009211, allocations: 384 / 0.8819 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.009218, allocations: 3.938 kB / 0.8819 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.009335, allocations: 27.92 kB / 0.8819 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.009925, allocations: 375.8 kB / 0.8823 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.01005, allocations: 47.05 kB / 0.8823 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.01011, allocations: 11.75 kB / 0.8823 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-05/0.01017, allocations: 23.98 kB / 0.8824 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.01022, allocations: 41.31 kB / 0.8824 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.01022, allocations: 0 / 0.8824 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.01055, allocations: 93.44 kB / 0.8825 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.0106, allocations: 55.41 kB / 0.8825 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.01118, allocations: 474.7 kB / 0.883 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.0112, allocations: 33.83 kB / 0.883 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.01139, allocations: 218.8 kB / 0.8832 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.01142, allocations: 15.89 kB / 0.8833 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.0115, allocations: 51.31 kB / 0.8833 GB, free: 500 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003225/0.01182, allocations: 0.5274 MB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.01191, allocations: 27.98 kB / 0.8838 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.01198, allocations: 23.98 kB / 0.8839 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.01213, allocations: 67.03 kB / 0.8839 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01214, allocations: 3.938 kB / 0.8839 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002712/0.01241, allocations: 141.4 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01242, allocations: 7.938 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.01243, allocations: 0 / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.01244, allocations: 4 kB / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.01258, allocations: 31.98 kB / 0.8841 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.01258, allocations: 0 / 0.8841 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.01264, allocations: 7.938 kB / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.01264, allocations: 0 / 0.8841 GB, free: 15.63 MB / 0.8542 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.0001393/0.01278, allocations: 168.5 kB / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.01284, allocations: 31.75 kB / 0.8843 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.01305, allocations: 83.94 kB / 0.8844 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01305, allocations: 0 / 0.8844 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.01306, allocations: 3.984 kB / 0.8844 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.01306, allocations: 0 / 0.8844 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.01335, allocations: 232.5 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01335, allocations: 0 / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.0134, allocations: 11.94 kB / 0.8846 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.0134, allocations: 0 / 0.8846 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01341, allocations: 3.938 kB / 0.8846 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01341, allocations: 4.031 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01341, allocations: 0 / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.01368, allocations: 227.7 kB / 0.8849 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.01378, allocations: 35.8 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.01381, allocations: 3.938 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.01389, allocations: 4 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.01393, allocations: 4 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.01393, allocations: 0 / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000337/0.01427, allocations: 311 kB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01427, allocations: 0 / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003941/0.01466, allocations: 83.91 kB / 0.8853 GB, free: 14.38 MB / 0.8542 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.0003199/0.01498, allocations: 159.1 kB / 0.8854 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.01521, allocations: 71.53 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01521, allocations: 0 / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.01528, allocations: 23.67 kB / 0.8855 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.01557, allocations: 17.5 kB / 0.8855 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007545/0.01632, allocations: 463.4 kB / 0.886 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.01652, allocations: 161.8 kB / 0.8861 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.043e-05/0.01657, allocations: 30.56 kB / 0.8862 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.01663, allocations: 20.5 kB / 0.8862 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.01663, allocations: 0 / 0.8862 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of Templates: time 0.007503/0.02413, allocations: 2.885 MB / 0.889 GB, free: 10.51 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.372104178997688]