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.001133/0.001133, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001563/0.001563, allocations: 161 kB / 24.17 MB, free: 332 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 1.078/1.078, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.963/1.963, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.423e-06/1.423e-06, allocations: 0 / 0.7601 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.121e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001999/0.00202, allocations: 1.588 MB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002704/0.00229, allocations: 128.2 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.002318, allocations: 1.5 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.002356, allocations: 3.938 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.002413, allocations: 12.66 kB / 0.7618 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.002577, allocations: 23.95 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.002655, allocations: 46.36 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.806e-05/0.002723, allocations: 11.97 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.003045, allocations: 24.8 kB / 0.7619 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.003088, allocations: 24.33 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.003109, allocations: 4 kB / 0.7619 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.066e-05/0.0032, allocations: 35.97 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.003237, allocations: 14.28 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.00326, allocations: 13.03 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003381, allocations: 68.53 kB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.003384, allocations: 3.984 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.003386, allocations: 4.75 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.00339, allocations: 0 / 0.762 GB, free: 4.645 MB / 0.7136 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.00028/0.00367, allocations: 273.4 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.003698, allocations: 8.031 kB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.00372, allocations: 7.125 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.935e-05/0.00379, allocations: 117.7 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.003797, allocations: 384 / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.003805, allocations: 4.375 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.003923, allocations: 73.77 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.003928, allocations: 1.656 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.003935, allocations: 384 / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.003962, allocations: 16.36 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.003996, allocations: 27.88 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.004245, allocations: 214.9 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.715e-05/0.004292, allocations: 26.58 kB / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.004309, allocations: 14.05 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.004453, allocations: 51.88 kB / 0.7628 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.00447, allocations: 34.56 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.004471, allocations: 0 / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001035/0.004574, allocations: 48.38 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.004601, allocations: 51.41 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.004677, allocations: 144.3 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.004687, allocations: 29.7 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.004736, allocations: 119.8 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.084e-06/0.004744, allocations: 7.953 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.004778, allocations: 37.64 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/0.004847, allocations: 318.8 kB / 0.7636 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.004864, allocations: 13.31 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.004912, allocations: 82.5 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.632e-05/0.004988, allocations: 108.3 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00499, allocations: 0 / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001031/0.005093, allocations: 100.5 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.005104, allocations: 7.984 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.00511, allocations: 4 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.00512, allocations: 4.234 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.005207, allocations: 35.92 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-06/0.00521, allocations: 1.812 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.005251, allocations: 19.89 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.005261, allocations: 4 kB / 0.7639 GB, free: 2.473 MB / 0.7136 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.758e-05/0.005318, allocations: 128.5 kB / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.005336, allocations: 8.766 kB / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-05/0.005416, allocations: 56.45 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005418, allocations: 0 / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005419, allocations: 0 / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005422, allocations: 2.812 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.242e-05/0.005504, allocations: 77.88 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005506, allocations: 4 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.00554, allocations: 19.86 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005542, allocations: 0 / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.005546, allocations: 0 / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005546, allocations: 0 / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005547, allocations: 0 / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.32e-05/0.005621, allocations: 137 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.005632, allocations: 19.86 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-06/0.005639, allocations: 0 / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.005675, allocations: 4 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.005705, allocations: 13.27 kB / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.005708, allocations: 0 / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.179e-05/0.00573, allocations: 22.56 kB / 0.7644 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00573, allocations: 0.625 kB / 0.7644 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001478/0.005878, allocations: 23.94 kB / 0.7644 GB, free: 1.922 MB / 0.7136 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.0001045/0.005983, allocations: 81.25 kB / 0.7645 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.341e-05/0.006056, allocations: 46.52 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.00606, allocations: 0.5 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.006077, allocations: 14.11 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.00621, allocations: 12 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.006441, allocations: 164.7 kB / 0.7647 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.243e-05/0.006473, allocations: 68.06 kB / 0.7648 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.006512, allocations: 8.656 kB / 0.7648 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.006565, allocations: 61.12 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of SimCode: time 5.82e-07/0.006566, allocations: 0 / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of Templates: time 0.002441/0.009007, allocations: 1.002 MB / 0.7658 GB, free: 488 kB / 0.7136 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Bicubic.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.199164815247059]