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.001046/0.001046, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001002/0.001002, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8978/0.8978, allocations: 177.2 MB / 202.8 MB, free: 5.742 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 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.712e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001801/0.001818, allocations: 1.489 MB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.002065, allocations: 119.5 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.002093, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.002132, allocations: 7.922 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.002184, allocations: 11.88 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.002384, allocations: 31.91 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.002457, allocations: 47.83 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.002538, allocations: 8 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.118e-05/0.002589, allocations: 27.91 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.511e-05/0.002624, allocations: 11.98 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.002638, allocations: 4 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.78e-05/0.002705, allocations: 31.97 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.00274, allocations: 15.92 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.002762, allocations: 23.91 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.00289, allocations: 75.72 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002892, allocations: 4 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002893, allocations: 0 / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.002897, allocations: 0 / 1.002 GB, free: 11.58 MB / 0.9636 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.000364/0.003261, allocations: 310 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.003299, allocations: 12.75 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.003329, allocations: 38.73 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.00351, allocations: 44.84 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.003667, allocations: 121.6 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.003677, allocations: 384 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.003688, allocations: 4.375 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.003892, allocations: 114.2 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.0039, allocations: 4.172 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.00391, allocations: 384 / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.00393, allocations: 16.12 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.004129, allocations: 115.9 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.004523, allocations: 331.3 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.004649, allocations: 62.53 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.004731, allocations: 44.91 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.004743, allocations: 4 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.004759, allocations: 30.56 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.004761, allocations: 3.938 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003149/0.005075, allocations: 153.5 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.005101, allocations: 51.41 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.005182, allocations: 151.5 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.005194, allocations: 29.7 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.005243, allocations: 119.8 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.168e-06/0.005252, allocations: 11.89 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.005288, allocations: 33.72 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.005356, allocations: 318.8 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.005447, allocations: 51.95 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.005563, allocations: 121.4 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.00577, allocations: 173.2 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005772, allocations: 3.938 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002397/0.006011, allocations: 193.3 kB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.006023, allocations: 4 kB / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.006028, allocations: 4.312 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.006041, allocations: 8 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.006143, allocations: 35.91 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.00615, allocations: 4 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.006216, allocations: 31.81 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.006226, allocations: 11.98 kB / 1.004 GB, free: 8.602 MB / 0.9636 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.078e-05/0.006287, allocations: 125.8 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.006302, allocations: 7.953 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.006323, allocations: 12.34 kB / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006325, allocations: 4 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.006329, allocations: 4 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.006332, allocations: 3.938 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.006442, allocations: 144.6 kB / 1.004 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006443, allocations: 240 / 1.004 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.006492, allocations: 19.97 kB / 1.004 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.006493, allocations: 0 / 1.004 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.0065, allocations: 0 / 1.004 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.0065, allocations: 3.938 kB / 1.004 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.006502, allocations: 3.984 kB / 1.004 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.006707, allocations: 216.1 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-06/0.006715, allocations: 7.953 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.006726, allocations: 3.984 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.006788, allocations: 15.98 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.00682, allocations: 0 / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006824, allocations: 3.938 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.006868, allocations: 113 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006869, allocations: 4 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001685/0.007037, allocations: 15.94 kB / 1.005 GB, free: 7.836 MB / 0.9636 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.0003469/0.007384, allocations: 0.7358 MB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.007597, allocations: 107.8 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007598, allocations: 0 / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.007683, allocations: 47.89 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.007866, allocations: 7.938 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.008258, allocations: 207.6 kB / 1.006 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/0.008306, allocations: 71.33 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.526e-05/0.008362, allocations: 28.41 kB / 1.006 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.008409, allocations: 28.48 kB / 1.006 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of SimCode: time 4e-07/0.00841, allocations: 4 kB / 1.006 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.02212, allocations: 2.849 MB / 1.009 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/6.817, allocations: 12.03 kB / 1.009 GB, free: 3.805 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.79015617724508]