Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001758/0.001758, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002301/0.002301, allocations: 223.6 kB / 23.01 MB, free: 4.609 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.856/1.856, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.8 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_11_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.002085/0.002085, allocations: 67.27 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3696, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002997/0.3726, allocations: 1.52 MB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003478/0.373, allocations: 127.6 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.373, allocations: 0 / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.3731, allocations: 7.875 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.3731, allocations: 7.938 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.3734, allocations: 35.89 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.3735, allocations: 35.92 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3736, allocations: 19.91 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.3736, allocations: 23.92 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.3737, allocations: 19.92 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3737, allocations: 4 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.56e-05/0.3738, allocations: 35.97 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.3738, allocations: 15.92 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.3739, allocations: 23.86 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.374, allocations: 75.59 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.374, allocations: 4 kB / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3741, allocations: 0 / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3741, allocations: 0 / 1.287 GB, free: 9.273 MB / 0.9825 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.0005735/0.3746, allocations: 306.1 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3747, allocations: 8.031 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.3747, allocations: 8.891 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3748, allocations: 114.4 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3748, allocations: 8.297 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.3748, allocations: 12.38 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.3752, allocations: 112 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3752, allocations: 192 / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3752, allocations: 7.922 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.3752, allocations: 12 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.3756, allocations: 115.9 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.3761, allocations: 315.8 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3763, allocations: 62.47 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3765, allocations: 32.92 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.3768, allocations: 47.95 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3768, allocations: 30.56 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3768, allocations: 0 / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005954/0.3774, allocations: 145.5 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3775, allocations: 55.34 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.3776, allocations: 141.9 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3776, allocations: 29.64 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.3777, allocations: 131.8 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.3778, allocations: 7.938 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.3778, allocations: 33.67 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.378, allocations: 318.8 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3782, allocations: 47.95 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.3784, allocations: 113.4 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.3788, allocations: 169.3 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3788, allocations: 4 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000441/0.3792, allocations: 185.5 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3792, allocations: 8 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3792, allocations: 0 / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.3793, allocations: 4 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3795, allocations: 43.84 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3795, allocations: 0 / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3796, allocations: 23.88 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3796, allocations: 12 kB / 1.289 GB, free: 6.41 MB / 0.9825 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.0001188/0.3797, allocations: 129.9 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.3798, allocations: 4 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.3802, allocations: 114 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3802, allocations: 7.875 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3802, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3802, allocations: 3.984 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.3804, allocations: 152.7 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3804, allocations: 0 / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.3805, allocations: 19.97 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3805, allocations: 0 / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3805, allocations: 0 / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3805, allocations: 11.94 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3805, allocations: 4 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.3809, allocations: 199.4 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.3809, allocations: 4 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3809, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.381, allocations: 23.86 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.381, allocations: 7.984 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.381, allocations: 0 / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.504e-05/0.3811, allocations: 114 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3811, allocations: 4 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002661/0.3814, allocations: 19.89 kB / 1.29 GB, free: 5.531 MB / 0.9825 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.0001557/0.3816, allocations: 99.23 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.3819, allocations: 107.8 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3819, allocations: 0 / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3821, allocations: 36.53 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3824, allocations: 11.98 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.3829, allocations: 191.5 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3832, allocations: 0.6923 MB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.3833, allocations: 15.44 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.3833, allocations: 4 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of Templates: time 0.003118/0.3864, allocations: 1.205 MB / 1.292 GB, free: 3.125 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.882972733990755]