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.001337/0.001337, allocations: 114.7 kB / 17.16 MB, free: 6.004 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.002454/0.002454, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.193/3.193, allocations: 0.5003 GB / 0.8026 GB, free: 6.68 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="cs",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.002232/0.002232, allocations: 67.91 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313/1.315, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002958/1.318, allocations: 1.513 MB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003842/1.318, allocations: 124.3 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/1.318, allocations: 0 / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.167e-05/1.318, allocations: 2.297 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/1.318, allocations: 14.67 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/1.319, allocations: 33.62 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/1.319, allocations: 43.69 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/1.319, allocations: 9.25 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/1.319, allocations: 18.41 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/1.319, allocations: 27.56 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/1.319, allocations: 3.156 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/1.319, allocations: 37.5 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/1.319, allocations: 14.34 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/1.319, allocations: 26.3 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/1.319, allocations: 78.7 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.319, allocations: 0 / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/1.319, allocations: 4.938 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.319, allocations: 0 / 1.342 GB, free: 14.94 MB / 1.061 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.0005586/1.32, allocations: 380.4 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.32, allocations: 10 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.262e-05/1.32, allocations: 1.312 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/1.32, allocations: 38.67 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/1.32, allocations: 47.98 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/1.32, allocations: 173.8 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/1.32, allocations: 5.75 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/1.32, allocations: 2.125 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/1.321, allocations: 119.1 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.321, allocations: 0 / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.321, allocations: 0 / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/1.321, allocations: 13.55 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/1.321, allocations: 121.2 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/1.322, allocations: 368.3 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/1.322, allocations: 60.03 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/1.322, allocations: 49.09 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/1.322, allocations: 0 / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/1.322, allocations: 32.5 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.322, allocations: 0 / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0006272/1.323, allocations: 156.3 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/1.323, allocations: 52.06 kB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/1.323, allocations: 148 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/1.323, allocations: 30.44 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/1.323, allocations: 121 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/1.323, allocations: 15.34 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/1.323, allocations: 29.2 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/1.323, allocations: 319.4 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/1.323, allocations: 52.22 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/1.324, allocations: 127.1 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/1.324, allocations: 172.3 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.324, allocations: 0 / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004842/1.325, allocations: 191.7 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.325, allocations: 6.391 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/1.325, allocations: 6.969 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.325, allocations: 11.67 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/1.325, allocations: 33.09 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.325, allocations: 7.5 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/1.325, allocations: 28.02 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/1.325, allocations: 6.453 kB / 1.345 GB, free: 12.69 MB / 1.061 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 8.329e-05/1.325, allocations: 118.3 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/1.325, allocations: 6.641 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/1.325, allocations: 24.06 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.325, allocations: 2.359 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/1.325, allocations: 0 / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.325, allocations: 3.984 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/1.325, allocations: 192.9 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.325, allocations: 0 / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/1.325, allocations: 20.09 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.325, allocations: 0 / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/1.325, allocations: 5.922 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.325, allocations: 0 / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.325, allocations: 4 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/1.326, allocations: 205 kB / 1.345 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/1.326, allocations: 84.52 kB / 1.345 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/1.326, allocations: 7.875 kB / 1.345 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/1.326, allocations: 15.75 kB / 1.345 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/1.326, allocations: 8.812 kB / 1.345 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/1.326, allocations: 0 / 1.345 GB, free: 12.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.493e-05/1.326, allocations: 109.2 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.326, allocations: 0 / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002499/1.326, allocations: 12.38 kB / 1.346 GB, free: 11.97 MB / 1.061 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.0006082/1.327, allocations: 0.7411 MB / 1.346 GB, free: 11.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004452/1.327, allocations: 117.7 kB / 1.346 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.328, allocations: 0 / 1.346 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/1.328, allocations: 41.83 kB / 1.346 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/1.328, allocations: 7.906 kB / 1.346 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/1.329, allocations: 212.6 kB / 1.347 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/1.329, allocations: 0.693 MB / 1.347 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.875e-05/1.329, allocations: 21.84 kB / 1.347 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/1.329, allocations: 25.23 kB / 1.347 GB, free: 10.34 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.329, allocations: 4 kB / 1.347 GB, free: 10.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/1.349, allocations: 2.211 MB / 1.35 GB, free: 9.895 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/9.676, allocations: 7 kB / 1.35 GB, free: 9.895 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.769298048981]