Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001021/0.001021, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.000999/0.000999, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9851/0.9851, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.7/1.7, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.858e-05, allocations: 2.938 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.005476/0.005505, allocations: 1.527 MB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.006815, allocations: 0.7811 MB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.006869, allocations: 0 / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.007114, allocations: 134.1 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.01072, allocations: 190.1 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.01089, allocations: 71.8 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.01101, allocations: 71.8 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.01109, allocations: 0.625 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.01116, allocations: 45.55 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.01128, allocations: 91.81 kB / 0.7899 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.01129, allocations: 0 / 0.7899 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.01168, allocations: 243.6 kB / 0.7902 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.01181, allocations: 108.5 kB / 0.7903 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.01186, allocations: 43.8 kB / 0.7903 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.01228, allocations: 335.7 kB / 0.7906 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01228, allocations: 0 / 0.7906 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01228, allocations: 0 / 0.7906 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.01229, allocations: 1.469 kB / 0.7906 GB, free: 9.188 MB / 0.7448 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.0006344/0.01292, allocations: 0.5963 MB / 0.7912 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.01296, allocations: 12.03 kB / 0.7912 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.01302, allocations: 34.58 kB / 0.7912 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.01632, allocations: 246.9 kB / 0.7915 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.01634, allocations: 384 / 0.7915 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.01635, allocations: 384 / 0.7915 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.01649, allocations: 58.89 kB / 0.7915 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.0165, allocations: 2.531 kB / 0.7915 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.01651, allocations: 384 / 0.7915 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.01652, allocations: 3.938 kB / 0.7915 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.01655, allocations: 11.97 kB / 0.7916 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.017, allocations: 363.8 kB / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.01706, allocations: 35.7 kB / 0.7919 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.01708, allocations: 15.62 kB / 0.792 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/0.01714, allocations: 20.58 kB / 0.792 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.01716, allocations: 41.33 kB / 0.792 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.01717, allocations: 1.656 kB / 0.792 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/0.01735, allocations: 69.47 kB / 0.7921 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.01738, allocations: 55.39 kB / 0.7921 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/0.01805, allocations: 463.3 kB / 0.7926 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.01806, allocations: 25.7 kB / 0.7926 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01818, allocations: 220.1 kB / 0.7928 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.0182, allocations: 7.953 kB / 0.7928 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.01825, allocations: 43.36 kB / 0.7929 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.01841, allocations: 0.5247 MB / 0.7934 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.01844, allocations: 19.92 kB / 0.7934 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.01848, allocations: 27.08 kB / 0.7934 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/0.01855, allocations: 49.06 kB / 0.7935 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01856, allocations: 0 / 0.7935 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001663/0.01872, allocations: 121.4 kB / 0.7936 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01874, allocations: 11.94 kB / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01874, allocations: 1.75 kB / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01876, allocations: 0 / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.01889, allocations: 31.92 kB / 0.7936 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01889, allocations: 0 / 0.7936 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.01894, allocations: 8.859 kB / 0.7936 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.01895, allocations: 8 kB / 0.7936 GB, free: 5.902 MB / 0.7448 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.003102/0.02205, allocations: 158.1 kB / 0.7938 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.0221, allocations: 35.75 kB / 0.7938 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.02223, allocations: 67.88 kB / 0.7939 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.02223, allocations: 0 / 0.7939 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.02223, allocations: 1 kB / 0.7939 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.02224, allocations: 0 / 0.7939 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.02245, allocations: 223.9 kB / 0.7941 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02245, allocations: 0 / 0.7941 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.02249, allocations: 4 kB / 0.7941 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.02249, allocations: 0 / 0.7941 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.0225, allocations: 11.94 kB / 0.7941 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.0225, allocations: 7.922 kB / 0.7941 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0225, allocations: 0 / 0.7941 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.02264, allocations: 207.7 kB / 0.7943 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.02269, allocations: 39.75 kB / 0.7944 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.02272, allocations: 4.438 kB / 0.7944 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.02278, allocations: 13.92 kB / 0.7944 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.02282, allocations: 0 / 0.7944 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.02283, allocations: 4 kB / 0.7944 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002351/0.02306, allocations: 299.1 kB / 0.7947 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.02306, allocations: 0 / 0.7947 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003495/0.02341, allocations: 86.17 kB / 0.7947 GB, free: 4.707 MB / 0.7448 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.000261/0.02367, allocations: 159.1 kB / 0.7949 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.0238, allocations: 62.12 kB / 0.795 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.0238, allocations: 0 / 0.795 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.02382, allocations: 12.59 kB / 0.795 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.02412, allocations: 13.5 kB / 0.795 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.02472, allocations: 461 kB / 0.7954 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.836e-05/0.0248, allocations: 103.9 kB / 0.7955 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003011/0.02781, allocations: 22.62 kB / 0.7955 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.02786, allocations: 16.5 kB / 0.7956 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of SimCode: time 1.913e-06/0.02786, allocations: 2.406 kB / 0.7956 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.005742/0.03361, allocations: 2.909 MB / 0.7984 GB, free: 0.9453 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.093349501024932]