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.0009868/0.0009868, allocations: 80.8 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.001006/0.001006, 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 0.9993/0.9993, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.856/1.856, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.513e-06/1.513e-06, allocations: 0.875 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.637e-05, allocations: 10.11 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002944/0.00297, allocations: 1.544 MB / 0.7615 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003771/0.003347, allocations: 122 kB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.003388, allocations: 4 kB / 0.7616 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.414e-05/0.003443, allocations: 3.938 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.003514, allocations: 9.125 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.003757, allocations: 27.95 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.003864, allocations: 48.17 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.003951, allocations: 13.84 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.004024, allocations: 21.98 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.004091, allocations: 17.39 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.004111, allocations: 7.938 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.56e-05/0.004207, allocations: 33.69 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.004256, allocations: 18.72 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.004283, allocations: 14.03 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004443, allocations: 71.77 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.004446, allocations: 0 / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004447, allocations: 1.188 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004451, allocations: 0 / 0.7619 GB, free: 4.711 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.000386/0.004837, allocations: 273.4 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.004877, allocations: 12.03 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.004915, allocations: 6.141 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.005015, allocations: 121.7 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.005026, allocations: 384 / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.005039, allocations: 1.031 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.005221, allocations: 79.17 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.00523, allocations: 192 / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.005238, allocations: 384 / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.005273, allocations: 16.36 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.005325, allocations: 24.69 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.005663, allocations: 217.6 kB / 0.7626 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.097e-05/0.005734, allocations: 23.33 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.005757, allocations: 14.67 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.006028, allocations: 50.62 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.006053, allocations: 30.56 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.375e-06/0.006055, allocations: 5.25 kB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.00015/0.006205, allocations: 45.62 kB / 0.7628 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.006234, allocations: 51.41 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.006319, allocations: 147.7 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.006329, allocations: 25.7 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.006379, allocations: 123.8 kB / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.006388, allocations: 12.47 kB / 0.7631 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.006422, allocations: 32.91 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.006493, allocations: 322.8 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.00651, allocations: 8 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.75e-05/0.006557, allocations: 81.38 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.006633, allocations: 107.1 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006636, allocations: 0 / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.687e-05/0.006722, allocations: 94.91 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.006736, allocations: 11.98 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.006743, allocations: 4.531 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.006756, allocations: 0.6562 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.155e-05/0.006847, allocations: 35.92 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.006852, allocations: 5.375 kB / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.006894, allocations: 15.89 kB / 0.7638 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.00691, allocations: 15.98 kB / 0.7639 GB, free: 2.527 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.454e-05/0.006964, allocations: 123 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.006977, allocations: 4 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.701e-05/0.007064, allocations: 56.89 kB / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007066, allocations: 0 / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.007068, allocations: 0 / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.007071, allocations: 0 / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.351e-05/0.007165, allocations: 81.81 kB / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.007165, allocations: 0 / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.007199, allocations: 15.92 kB / 0.7641 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.0072, allocations: 0.6875 kB / 0.7641 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.007205, allocations: 4 kB / 0.7641 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007205, allocations: 1.281 kB / 0.7641 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007206, allocations: 0 / 0.7641 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.859e-05/0.007275, allocations: 139.5 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.007285, allocations: 17.55 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.007294, allocations: 0 / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.53e-05/0.007329, allocations: 4 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.007359, allocations: 16.25 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.007362, allocations: 2.438 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.977e-05/0.007382, allocations: 22.41 kB / 0.7643 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007382, allocations: 4 kB / 0.7643 GB, free: 2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001471/0.007529, allocations: 12 kB / 0.7643 GB, free: 1.988 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.0001223/0.007652, allocations: 88.41 kB / 0.7644 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.856e-05/0.00773, allocations: 46.75 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.007735, allocations: 4 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.007751, allocations: 10.27 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.007885, allocations: 11.94 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.008132, allocations: 168.8 kB / 0.7646 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.008165, allocations: 59.34 kB / 0.7647 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.787e-05/0.008202, allocations: 13.84 kB / 0.7647 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.008253, allocations: 60.34 kB / 0.7648 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.008253, allocations: 0.5938 kB / 0.7648 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of Templates: time 0.002304/0.01056, allocations: 1 MB / 0.7658 GB, free: 0.5391 MB / 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 -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.001680801156908]