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.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.0009489/0.0009489, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001478/0.001478, allocations: 169.3 kB / 23.02 MB, free: 1.551 MB / 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.9802/0.9802, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.061/2.061, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.653e-06/1.653e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.871e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001852/0.00187, allocations: 1.547 MB / 0.8797 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002683/0.002139, allocations: 124.6 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.00217, allocations: 0 / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.002218, allocations: 0.5312 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.002276, allocations: 11.25 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.002486, allocations: 32.95 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.002562, allocations: 43.86 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.356e-05/0.002645, allocations: 11.98 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.368e-05/0.002699, allocations: 25.22 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.913e-05/0.002738, allocations: 19.91 kB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.002753, allocations: 4 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.002823, allocations: 33.06 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.002862, allocations: 15.92 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.002881, allocations: 8 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.003008, allocations: 76.31 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003009, allocations: 0 / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.11e-07/0.00301, allocations: 2.188 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003013, allocations: 0 / 0.8801 GB, free: 4.383 MB / 0.8386 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.0003515/0.003365, allocations: 400.3 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.003398, allocations: 12.03 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.003592, allocations: 43.28 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.003672, allocations: 124.5 kB / 0.8806 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.003683, allocations: 7.812 kB / 0.8806 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.003696, allocations: 4.359 kB / 0.8806 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.003848, allocations: 86.86 kB / 0.8807 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.003858, allocations: 192 / 0.8807 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.003869, allocations: 4.375 kB / 0.8807 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.003892, allocations: 8.375 kB / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.003959, allocations: 43.91 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.00438, allocations: 348.8 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.437e-05/0.004465, allocations: 51.55 kB / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.004495, allocations: 17.22 kB / 0.8812 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.004504, allocations: 0 / 0.8812 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.004529, allocations: 33.39 kB / 0.8812 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.004531, allocations: 4 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001811/0.004712, allocations: 69.73 kB / 0.8813 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.004742, allocations: 51.41 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.004858, allocations: 204.7 kB / 0.8815 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.00487, allocations: 25.7 kB / 0.8815 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.004951, allocations: 170.6 kB / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.004965, allocations: 11.89 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.005008, allocations: 35.33 kB / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.005115, allocations: 0.5 MB / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.005144, allocations: 19.92 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.005214, allocations: 120.5 kB / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.005316, allocations: 144.5 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.005318, allocations: 4 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001351/0.005453, allocations: 121.4 kB / 0.8826 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.005467, allocations: 8 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005471, allocations: 0 / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.005487, allocations: 4 kB / 0.8826 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.005586, allocations: 31.92 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.005593, allocations: 4 kB / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.005645, allocations: 28.19 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.005653, allocations: 4 kB / 0.8827 GB, free: 1.395 MB / 0.8386 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.235e-05/0.005715, allocations: 168.5 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.005737, allocations: 7.953 kB / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.005771, allocations: 16.34 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.005772, allocations: 0 / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.005775, allocations: 0 / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.005778, allocations: 240 / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.005882, allocations: 144.5 kB / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005884, allocations: 4 kB / 0.883 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.005922, allocations: 15.98 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005924, allocations: 3.984 kB / 0.8831 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.00593, allocations: 0 / 0.8831 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005931, allocations: 4 kB / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.005932, allocations: 0 / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.006051, allocations: 207.8 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.006059, allocations: 7.953 kB / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.00607, allocations: 0 / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.006116, allocations: 7.984 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.006152, allocations: 4 kB / 0.8833 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.006155, allocations: 4 kB / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.006203, allocations: 147.2 kB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006203, allocations: 3.938 kB / 0.8834 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001619/0.006365, allocations: 12 kB / 0.8834 GB, free: 0.582 MB / 0.8386 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 5.791e-05/0.006423, allocations: 91.25 kB / 0.8835 GB, free: 492 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.006539, allocations: 63.53 kB / 0.8836 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006541, allocations: 0.625 kB / 0.8836 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.839e-05/0.006569, allocations: 23.69 kB / 0.8836 GB, free: 396 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.006759, allocations: 15.88 kB / 0.8836 GB, free: 380 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.007075, allocations: 182.3 kB / 0.8838 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.851e-05/0.007114, allocations: 59.34 kB / 0.8839 GB, free: 88 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.489e-05/0.007169, allocations: 24.47 kB / 0.8839 GB, free: 64 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.007206, allocations: 12.5 kB / 0.8839 GB, free: 48 kB / 0.8386 GB Notification: Performance of SimCode: time 9.52e-07/0.007207, allocations: 0 / 0.8839 GB, free: 48 kB / 0.8386 GB Notification: Performance of Templates: time 0.002513/0.00972, allocations: 1.028 MB / 0.8849 GB, free: 15.04 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.335716980975121]