Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.485/2.485, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5693, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003256/0.5726, allocations: 1.489 MB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003749/0.573, allocations: 120.5 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.5731, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.744e-05/0.5732, allocations: 3.938 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.5733, allocations: 11.92 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.5735, allocations: 27.91 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.5736, allocations: 43.84 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.5738, allocations: 15.98 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/0.5738, allocations: 11.98 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.5739, allocations: 31.86 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.5739, allocations: 4 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.574, allocations: 35.95 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.5741, allocations: 11.98 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.5741, allocations: 27.81 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.5743, allocations: 71.77 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5743, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5743, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.5743, allocations: 3.938 kB / 1.019 GB, free: 0.5469 MB / 0.7637 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.0005384/0.5749, allocations: 385.5 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5749, allocations: 8.031 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.5749, allocations: 38.75 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.575, allocations: 8.844 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.5751, allocations: 172.2 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.5752, allocations: 4.375 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.5752, allocations: 384 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.5755, allocations: 124 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5755, allocations: 7.875 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.5755, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.5755, allocations: 11.98 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.5759, allocations: 119.9 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.5764, allocations: 344.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.5766, allocations: 50.55 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.5767, allocations: 52.77 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.577, allocations: 125.1 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.5771, allocations: 34.56 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.5771, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005503/0.5776, allocations: 129.5 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.5777, allocations: 63.27 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.5778, allocations: 147.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.5778, allocations: 25.7 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.5779, allocations: 119.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.5779, allocations: 19.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.578, allocations: 29.66 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5781, allocations: 318.8 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.5783, allocations: 43.95 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.5785, allocations: 113.4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.5789, allocations: 169.2 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5789, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004564/0.5794, allocations: 181.3 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5794, allocations: 8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.5794, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5794, allocations: 7.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.5796, allocations: 35.91 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.5796, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.5798, allocations: 23.83 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.5798, allocations: 8.219 kB / 1.022 GB, free: 13.35 MB / 0.7794 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 9.587e-05/0.5799, allocations: 133.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.5799, allocations: 7.906 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.5803, allocations: 113.9 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.5803, allocations: 3.938 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5803, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5803, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.5805, allocations: 177.6 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5805, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.246e-05/0.5806, allocations: 11.98 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5806, allocations: 7.922 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.5807, allocations: 8 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5807, allocations: 3.938 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5807, allocations: 7.938 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.581, allocations: 195.4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.5811, allocations: 81.02 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.5811, allocations: 11.98 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5812, allocations: 12.25 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.5813, allocations: 8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5813, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.76e-05/0.5814, allocations: 113 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5814, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000262/0.5816, allocations: 16 kB / 1.023 GB, free: 12.35 MB / 0.7794 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.0006965/0.5823, allocations: 0.7435 MB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.5827, allocations: 112 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5828, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.5829, allocations: 39.95 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.5832, allocations: 11.94 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.5837, allocations: 200 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.584, allocations: 0.6885 MB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.5841, allocations: 24.41 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.5842, allocations: 31.42 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.5842, allocations: 4 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.6019, allocations: 2.145 MB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.786, allocations: 7.547 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches