Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008015/0.008015, allocations: 168.7 kB / 16.26 MB, free: 6.66 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005573/0.0005571, allocations: 11.98 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8885/0.889, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001833/0.8909, allocations: 1.214 MB / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000464/0.8914, allocations: 118.1 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.8915, allocations: 1.375 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.8915, allocations: 7.938 kB / 0.9563 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.038e-05/0.8916, allocations: 10.39 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.8919, allocations: 21.3 kB / 0.9564 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.437e-05/0.892, allocations: 37.72 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.8921, allocations: 8.406 kB / 0.9564 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.079e-05/0.8921, allocations: 17.83 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.8922, allocations: 21.72 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.8922, allocations: 6.375 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.8924, allocations: 40.3 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.8924, allocations: 12.2 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.8925, allocations: 49.95 kB / 0.9566 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.8926, allocations: 67.7 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8926, allocations: 0.9688 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8927, allocations: 0 / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.8927, allocations: 3.938 kB / 0.9566 GB, free: 6.473 MB / 0.7169 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.0005755/0.8933, allocations: 388.5 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.8933, allocations: 8.969 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.8934, allocations: 7.969 kB / 0.957 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.8935, allocations: 171.5 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.8935, allocations: 1.344 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.8935, allocations: 6.156 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.8939, allocations: 124.2 kB / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8939, allocations: 192 / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.8939, allocations: 3.938 kB / 0.9573 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.894, allocations: 15.86 kB / 0.9573 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.8944, allocations: 137.9 kB / 0.9575 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.8949, allocations: 355 kB / 0.9578 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.8951, allocations: 66.36 kB / 0.9579 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.8953, allocations: 58.31 kB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000283/0.8956, allocations: 120.8 kB / 0.958 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.8956, allocations: 31.81 kB / 0.9581 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.8956, allocations: 0 / 0.9581 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006614/0.8963, allocations: 170.7 kB / 0.9582 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.8963, allocations: 60.66 kB / 0.9583 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.8965, allocations: 147.3 kB / 0.9584 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.8965, allocations: 25.7 kB / 0.9584 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.8966, allocations: 120.8 kB / 0.9586 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.8966, allocations: 10 kB / 0.9586 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.8966, allocations: 21.23 kB / 0.9586 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.8967, allocations: 317.1 kB / 0.9589 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.8969, allocations: 63.94 kB / 0.9589 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.8971, allocations: 125.4 kB / 0.9591 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.8975, allocations: 189.2 kB / 0.9592 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8975, allocations: 0 / 0.9592 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004643/0.8979, allocations: 211 kB / 0.9595 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.898, allocations: 6.875 kB / 0.9595 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.898, allocations: 1.375 kB / 0.9595 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.898, allocations: 4.125 kB / 0.9595 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.8982, allocations: 42.11 kB / 0.9595 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.8982, allocations: 8.422 kB / 0.9595 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.8983, allocations: 30.95 kB / 0.9595 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.8984, allocations: 14.86 kB / 0.9596 GB, free: 3.945 MB / 0.7169 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 7.984e-05/0.8985, allocations: 120.7 kB / 0.9597 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.8985, allocations: 12.02 kB / 0.9597 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.8989, allocations: 137.1 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8989, allocations: 5.312 kB / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8989, allocations: 3.938 kB / 0.9598 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.8989, allocations: 1.375 kB / 0.9598 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.8991, allocations: 176.6 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8991, allocations: 1.375 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.8992, allocations: 27.05 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8992, allocations: 1.375 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8993, allocations: 0 / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.8993, allocations: 5.312 kB / 0.96 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8993, allocations: 3.984 kB / 0.96 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.8997, allocations: 218.6 kB / 0.9602 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.8997, allocations: 82.39 kB / 0.9603 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.8997, allocations: 1.375 kB / 0.9603 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.8998, allocations: 26.91 kB / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.8999, allocations: 2.75 kB / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.8999, allocations: 2.75 kB / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.9, allocations: 109.5 kB / 0.9605 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9, allocations: 0 / 0.9605 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002807/0.9003, allocations: 19.12 kB / 0.9605 GB, free: 3.121 MB / 0.7169 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.0001676/0.9004, allocations: 106.4 kB / 0.9606 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.9009, allocations: 126.7 kB / 0.9607 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9009, allocations: 0 / 0.9607 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.9011, allocations: 55.2 kB / 0.9607 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.9014, allocations: 7.219 kB / 0.9608 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.9018, allocations: 177.1 kB / 0.9609 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.902, allocations: 0.6939 MB / 0.9616 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.839e-05/0.9021, allocations: 32.72 kB / 0.9616 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.9021, allocations: 12.47 kB / 0.9616 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.9021, allocations: 0 / 0.9616 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of Templates: time 0.003471/0.9056, allocations: 0.8164 MB / 0.9624 GB, free: 1.645 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches