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.001363/0.001363, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001457/0.001457, allocations: 216.4 kB / 22.25 MB, free: 5.125 MB / 14.72 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 3.446/3.446, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 63.55 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003123/0.3703, allocations: 1.508 MB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000391/0.3707, allocations: 123.7 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.3708, allocations: 0 / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.853e-05/0.3708, allocations: 3.938 kB / 1.354 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.887e-05/0.3709, allocations: 15.88 kB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3711, allocations: 27.95 kB / 1.354 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3712, allocations: 47.8 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3713, allocations: 7.984 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.3714, allocations: 23.92 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.3715, allocations: 19.91 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3715, allocations: 7.938 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3716, allocations: 43.95 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.3716, allocations: 19.94 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.3717, allocations: 19.86 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.3719, allocations: 87.8 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3719, allocations: 0 / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3719, allocations: 0 / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.3719, allocations: 0 / 1.355 GB, free: 6.457 MB / 1.045 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.0006398/0.3725, allocations: 302.1 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3726, allocations: 8.031 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/0.3726, allocations: 42.73 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.373, allocations: 36.86 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3731, allocations: 126.3 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3731, allocations: 4.375 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.3731, allocations: 384 / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.3735, allocations: 118.2 kB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3735, allocations: 3.938 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3735, allocations: 0 / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.3736, allocations: 11.98 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.374, allocations: 115.9 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.3747, allocations: 347.1 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.375, allocations: 66.55 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.3751, allocations: 44.91 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3751, allocations: 0 / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.3752, allocations: 30.56 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.3752, allocations: 0 / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0006064/0.3758, allocations: 157.6 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3758, allocations: 59.34 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.376, allocations: 139.5 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.376, allocations: 29.7 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.3761, allocations: 120 kB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.3761, allocations: 11.84 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.3762, allocations: 33.72 kB / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3764, allocations: 318.8 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.3765, allocations: 47.95 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.3768, allocations: 126.3 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.3772, allocations: 185.2 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3772, allocations: 0 / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004415/0.3776, allocations: 181.4 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3776, allocations: 8.312 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3776, allocations: 11.94 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3777, allocations: 7.938 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3778, allocations: 35.91 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3779, allocations: 4 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.378, allocations: 23.86 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.378, allocations: 12 kB / 1.357 GB, free: 3.484 MB / 1.045 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 0.0001167/0.3781, allocations: 125.7 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3781, allocations: 7.953 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.3782, allocations: 20.33 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3782, allocations: 3.938 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3782, allocations: 0 / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3782, allocations: 0 / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3784, allocations: 160.6 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3784, allocations: 0 / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3785, allocations: 15.98 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3785, allocations: 0 / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3785, allocations: 7.984 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3785, allocations: 3.938 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3785, allocations: 0 / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.3789, allocations: 207.4 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.3789, allocations: 3.953 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3789, allocations: 4 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.3791, allocations: 19.91 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.3791, allocations: 4 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3791, allocations: 0 / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.83e-05/0.3792, allocations: 113.3 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3792, allocations: 0 / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002484/0.3795, allocations: 15.94 kB / 1.358 GB, free: 2.715 MB / 1.045 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.0006789/0.3801, allocations: 0.7358 MB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.3805, allocations: 116.1 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3805, allocations: 0 / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.3807, allocations: 39.95 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3809, allocations: 12.31 kB / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.3816, allocations: 215.8 kB / 1.359 GB, free: 1.539 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3819, allocations: 0.6885 MB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.292e-05/0.382, allocations: 28.41 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.3821, allocations: 27.41 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3821, allocations: 4 kB / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.4127, allocations: 2.343 MB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 7.875 kB / 1.362 GB, free: 14.55 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.613197822123766]