Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.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.0008227/0.0008227, allocations: 80.48 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.001497/0.001497, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8899/0.8899, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.767/1.767, allocations: 377.8 MB / 0.6228 GB, free: 8.664 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.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.739e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001912/0.00194, allocations: 1.502 MB / 0.9837 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.002205, allocations: 119.5 kB / 0.9838 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.002238, allocations: 0 / 0.9838 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.002279, allocations: 3.984 kB / 0.9838 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.002334, allocations: 15.88 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.002546, allocations: 27.91 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.002627, allocations: 47.78 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.002717, allocations: 11.98 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.002769, allocations: 23.97 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.002808, allocations: 15.98 kB / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.002825, allocations: 4 kB / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.88e-05/0.002894, allocations: 35.95 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.002928, allocations: 15.94 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.002948, allocations: 19.92 kB / 0.984 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003081, allocations: 75.75 kB / 0.9841 GB, free: 152 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.003084, allocations: 4 kB / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003085, allocations: 4 kB / 0.9841 GB, free: 144 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003089, allocations: 3.938 kB / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003836/0.003472, allocations: 306 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.003506, allocations: 8.031 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.003539, allocations: 12.89 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.482e-05/0.003614, allocations: 117.7 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.003625, allocations: 8.375 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.003635, allocations: 4.375 kB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.00382, allocations: 110.2 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.003827, allocations: 192 / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.003836, allocations: 384 / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.003859, allocations: 12.36 kB / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.004044, allocations: 131.7 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.004364, allocations: 284.4 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.004476, allocations: 46.55 kB / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.00455, allocations: 40.91 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.004715, allocations: 55.98 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.004733, allocations: 34.55 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004734, allocations: 3.938 kB / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003082/0.005042, allocations: 133.5 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.005072, allocations: 51.41 kB / 0.9854 GB, free: 14.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.005161, allocations: 152.9 kB / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005171, allocations: 29.7 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.005222, allocations: 123.8 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.005231, allocations: 7.953 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.005265, allocations: 41.66 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.005335, allocations: 318.8 kB / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.005415, allocations: 43.95 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.005524, allocations: 124 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.005706, allocations: 169.2 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.005708, allocations: 0 / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002217/0.00593, allocations: 173.3 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.005942, allocations: 8 kB / 0.9865 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.005949, allocations: 4 kB / 0.9865 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005959, allocations: 320 / 0.9865 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.006046, allocations: 43.97 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.006053, allocations: 7.938 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.006108, allocations: 23.86 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.00612, allocations: 8.234 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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 5.896e-05/0.006179, allocations: 125.8 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.006192, allocations: 7.953 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.006389, allocations: 125.9 kB / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006391, allocations: 0 / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.006395, allocations: 3.938 kB / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.006398, allocations: 0 / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.956e-05/0.006487, allocations: 125.2 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006488, allocations: 4 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.006526, allocations: 19.97 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.006527, allocations: 0 / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.006536, allocations: 7.938 kB / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006537, allocations: 4 kB / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006538, allocations: 0 / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.006712, allocations: 195.4 kB / 0.9872 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.006722, allocations: 19.94 kB / 0.9872 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.006732, allocations: 0 / 0.9872 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.006782, allocations: 11.98 kB / 0.9872 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.00682, allocations: 3.984 kB / 0.9872 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.006824, allocations: 4 kB / 0.9872 GB, free: 12.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.006866, allocations: 103.3 kB / 0.9873 GB, free: 12.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006866, allocations: 0 / 0.9873 GB, free: 12.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001681/0.007034, allocations: 23.94 kB / 0.9873 GB, free: 12.48 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 (3): * Single equations (assignments): 3 * 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 9.792e-05/0.007132, allocations: 103.2 kB / 0.9874 GB, free: 12.37 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.007334, allocations: 99.78 kB / 0.9875 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.007336, allocations: 4 kB / 0.9875 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.904e-05/0.007405, allocations: 32.59 kB / 0.9876 GB, free: 12.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.007587, allocations: 26.22 kB / 0.9876 GB, free: 12.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.007855, allocations: 183.1 kB / 0.9878 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.007905, allocations: 75.08 kB / 0.9878 GB, free: 11.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.00794, allocations: 16.5 kB / 0.9879 GB, free: 11.89 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.007941, allocations: 4 kB / 0.9879 GB, free: 11.89 MB / 0.948 GB Notification: Performance of Templates: time 0.001829/0.009769, allocations: 1.226 MB / 0.9891 GB, free: 10.67 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.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.646040038205683]