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.002078/0.002078, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00256/0.00256, allocations: 214.5 kB / 22.25 MB, free: 5.262 MB / 14.72 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.287/3.287, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 68.08 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3511, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003268/0.3544, allocations: 1.494 MB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003597/0.3547, allocations: 123.6 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.3548, allocations: 0 / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.3548, allocations: 3.938 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.3549, allocations: 7.938 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.3551, allocations: 31.89 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.815e-05/0.3552, allocations: 39.86 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.3553, allocations: 11.98 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.3553, allocations: 15.98 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.3554, allocations: 23.84 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3554, allocations: 11.94 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.3555, allocations: 35.97 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.3555, allocations: 11.98 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.3556, allocations: 19.86 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3558, allocations: 83.58 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3558, allocations: 0 / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3558, allocations: 0 / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3558, allocations: 0 / 1.327 GB, free: 15.99 MB / 1.029 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.0005552/0.3563, allocations: 302 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3564, allocations: 16.03 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3564, allocations: 4.891 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3565, allocations: 122.4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3565, allocations: 4.375 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3565, allocations: 4.359 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.3568, allocations: 106.2 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3568, allocations: 4.172 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3569, allocations: 7.938 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.3569, allocations: 8 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.3573, allocations: 127.9 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3577, allocations: 284.3 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.3579, allocations: 54.53 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.358, allocations: 36.92 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.3583, allocations: 47.95 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.3583, allocations: 38.56 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3583, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005601/0.3589, allocations: 137.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3589, allocations: 51.41 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3591, allocations: 155.4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3591, allocations: 29.7 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.3592, allocations: 115.8 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3592, allocations: 19.89 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.3592, allocations: 29.72 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3594, allocations: 322.8 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3596, allocations: 43.95 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3598, allocations: 117.4 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.3602, allocations: 173.2 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3602, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004504/0.3606, allocations: 181.6 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3606, allocations: 9.438 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3606, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3606, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3608, allocations: 31.97 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3608, allocations: 11.88 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.361, allocations: 27.88 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.361, allocations: 8 kB / 1.33 GB, free: 13.17 MB / 1.029 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 0.0001032/0.3611, allocations: 126.4 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.3611, allocations: 11.89 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.3615, allocations: 125.8 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3615, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3615, allocations: 7.938 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3615, allocations: 3.984 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3617, allocations: 117.3 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3617, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.3618, allocations: 15.98 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3618, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3618, allocations: 4.266 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3618, allocations: 3.984 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3618, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.3622, allocations: 207.4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.3622, allocations: 11.89 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.3622, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3623, allocations: 15.97 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.3623, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3624, allocations: 3.938 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.597e-05/0.3624, allocations: 108.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3624, allocations: 7.938 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002745/0.3627, allocations: 20 kB / 1.331 GB, free: 12.32 MB / 1.029 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 0.0001489/0.3629, allocations: 95.25 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.3633, allocations: 104.4 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3633, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.3634, allocations: 43.95 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3637, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.3641, allocations: 165.8 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.117e-05/0.3642, allocations: 79.27 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.3643, allocations: 28.41 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.3643, allocations: 11.44 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3643, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of Templates: time 0.003862/0.3682, allocations: 1.042 MB / 1.332 GB, free: 10.71 MB / 1.029 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: 9.09531063400209]