Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00214/0.00214, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 67.84 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9091/0.9112, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00274/0.914, allocations: 1.487 MB / 1.264 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003578/0.9144, allocations: 131.8 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.9145, allocations: 0.9375 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.925e-05/0.9145, allocations: 0.9375 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.9146, allocations: 11.33 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.9149, allocations: 27.19 kB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.915, allocations: 51.44 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.9151, allocations: 15.34 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.471e-05/0.9152, allocations: 17.59 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.9153, allocations: 18.95 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.9153, allocations: 3.938 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.9154, allocations: 36.56 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.9154, allocations: 15.27 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.9155, allocations: 26.72 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.9157, allocations: 82.3 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.9157, allocations: 0 / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9157, allocations: 4 kB / 1.264 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9157, allocations: 0.8438 kB / 1.264 GB, free: 6.758 MB / 0.9981 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.0005287/0.9163, allocations: 377.1 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.9163, allocations: 9.516 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.9163, allocations: 12.3 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.9165, allocations: 169 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.9165, allocations: 1.062 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.9165, allocations: 3.469 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.9168, allocations: 121.6 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.9168, allocations: 4.781 kB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.9168, allocations: 4.75 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.9169, allocations: 9.703 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.9173, allocations: 119.5 kB / 1.265 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.9177, allocations: 349.2 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.918, allocations: 52.39 kB / 1.266 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.9181, allocations: 41.5 kB / 1.266 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/0.9184, allocations: 126.7 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.9185, allocations: 35.84 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.9185, allocations: 3.938 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000571/0.9191, allocations: 132.5 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.9191, allocations: 56.84 kB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.9192, allocations: 153.3 kB / 1.266 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.9192, allocations: 26.64 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.9193, allocations: 116.5 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.9193, allocations: 15.42 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.9193, allocations: 33.56 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.9194, allocations: 315.4 kB / 1.267 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.9196, allocations: 46.25 kB / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.9198, allocations: 118.7 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.9202, allocations: 168.8 kB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9202, allocations: 0.75 kB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004522/0.9206, allocations: 181.7 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.9207, allocations: 10.12 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9207, allocations: 7.281 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.9207, allocations: 2.719 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.9209, allocations: 40.7 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.9209, allocations: 4.219 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.921, allocations: 32.06 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.921, allocations: 7.672 kB / 1.267 GB, free: 4.512 MB / 0.9981 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 6.794e-05/0.9211, allocations: 122.5 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.9211, allocations: 11.17 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.9216, allocations: 116.6 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.9216, allocations: 4.75 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9216, allocations: 0 / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9216, allocations: 1.203 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.9218, allocations: 177.2 kB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9218, allocations: 0.7031 kB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.9219, allocations: 16.16 kB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.9219, allocations: 4.562 kB / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.9219, allocations: 1.031 kB / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.9219, allocations: 5.172 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9219, allocations: 8.656 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.9223, allocations: 201.8 kB / 1.268 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.9223, allocations: 86.53 kB / 1.268 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.9224, allocations: 1.234 kB / 1.268 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.9225, allocations: 16.11 kB / 1.268 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.9225, allocations: 7.984 kB / 1.268 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.9225, allocations: 3.328 kB / 1.268 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.913e-05/0.9226, allocations: 112.2 kB / 1.268 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9226, allocations: 0 / 1.268 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002718/0.9229, allocations: 15.22 kB / 1.268 GB, free: 3.766 MB / 0.9981 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.0001378/0.923, allocations: 107.2 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.9235, allocations: 103.5 kB / 1.268 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9235, allocations: 0.625 kB / 1.268 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.9236, allocations: 39.33 kB / 1.268 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.924, allocations: 12.62 kB / 1.268 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.9243, allocations: 187 kB / 1.269 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.9245, allocations: 0.6935 MB / 1.269 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.9245, allocations: 18.7 kB / 1.269 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.9245, allocations: 0 / 1.269 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of Templates: time 0.003282/0.9278, allocations: 1.201 MB / 1.27 GB, free: 2.668 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.017925441963598]