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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001217/0.001217, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001489/0.001489, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003993, allocations: 15.98 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9039/0.9043, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001516/0.9059, allocations: 1.192 MB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002678/0.9062, allocations: 114 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.9062, allocations: 1.562 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.9063, allocations: 3.984 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.9063, allocations: 11.42 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.9066, allocations: 28.25 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.336e-05/0.9066, allocations: 24.22 kB / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.9068, allocations: 8.188 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.9068, allocations: 18.73 kB / 0.9549 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.9069, allocations: 23.22 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.9069, allocations: 2.312 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.907, allocations: 32.14 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.9071, allocations: 7.969 kB / 0.9549 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.9071, allocations: 35.7 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.9072, allocations: 53.22 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.9072, allocations: 0 / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9072, allocations: 0 / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.9073, allocations: 0 / 0.955 GB, free: 6.914 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.0005471/0.9078, allocations: 384.4 kB / 0.9554 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.9079, allocations: 9.344 kB / 0.9554 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.9079, allocations: 14.64 kB / 0.9554 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.908, allocations: 178.5 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.908, allocations: 1.344 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.9081, allocations: 1.375 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.9084, allocations: 122.1 kB / 0.9557 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.9084, allocations: 0 / 0.9557 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.9084, allocations: 1.281 kB / 0.9557 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.9085, allocations: 11.55 kB / 0.9557 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.9089, allocations: 145 kB / 0.9559 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.9093, allocations: 346.5 kB / 0.9562 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.9096, allocations: 70.94 kB / 0.9562 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.9098, allocations: 117.9 kB / 0.9564 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.9099, allocations: 31.72 kB / 0.9564 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9099, allocations: 0 / 0.9564 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005973/0.9105, allocations: 170.8 kB / 0.9566 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.9105, allocations: 55.41 kB / 0.9566 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.9107, allocations: 151.4 kB / 0.9568 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.9107, allocations: 25.7 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.9107, allocations: 116.5 kB / 0.9569 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.9108, allocations: 18.2 kB / 0.9569 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.9108, allocations: 0 / 0.9569 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.9108, allocations: 322.3 kB / 0.9572 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.911, allocations: 58.17 kB / 0.9573 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.9112, allocations: 121.7 kB / 0.9574 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.9114, allocations: 77.7 kB / 0.9575 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9114, allocations: 5.109 kB / 0.9575 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004169/0.9118, allocations: 205.1 kB / 0.9577 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.9119, allocations: 6.125 kB / 0.9577 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9119, allocations: 11.08 kB / 0.9577 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.9119, allocations: 3.375 kB / 0.9577 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.9121, allocations: 38.59 kB / 0.9577 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.9121, allocations: 8.188 kB / 0.9577 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.9122, allocations: 43.34 kB / 0.9578 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.9122, allocations: 6.938 kB / 0.9578 GB, free: 4.543 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.9123, allocations: 117.6 kB / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.9123, allocations: 7.031 kB / 0.9579 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.9127, allocations: 153 kB / 0.958 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9128, allocations: 0.8438 kB / 0.958 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9128, allocations: 0 / 0.958 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.9128, allocations: 1.062 kB / 0.958 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.9129, allocations: 177.3 kB / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9129, allocations: 1.031 kB / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.913, allocations: 27.78 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.913, allocations: 0 / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.913, allocations: 1.781 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9131, allocations: 0 / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9131, allocations: 0 / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.9134, allocations: 223.2 kB / 0.9584 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.9134, allocations: 86.27 kB / 0.9585 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.9135, allocations: 5.266 kB / 0.9585 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.9136, allocations: 19.52 kB / 0.9586 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.9136, allocations: 6.547 kB / 0.9586 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.9137, allocations: 2.594 kB / 0.9586 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.5e-05/0.9137, allocations: 108.8 kB / 0.9587 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9137, allocations: 0 / 0.9587 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002727/0.914, allocations: 23.03 kB / 0.9587 GB, free: 3.715 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001538/0.9142, allocations: 102.5 kB / 0.9588 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.9146, allocations: 129.4 kB / 0.9589 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9146, allocations: 1.375 kB / 0.9589 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.9148, allocations: 50.58 kB / 0.959 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.915, allocations: 7.031 kB / 0.959 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.9154, allocations: 174.9 kB / 0.9591 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.9155, allocations: 0.6985 MB / 0.9598 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.131e-05/0.9156, allocations: 29.41 kB / 0.9598 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.9157, allocations: 12.06 kB / 0.9599 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9157, allocations: 1.156 kB / 0.9599 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of Templates: time 0.003114/0.9188, allocations: 0.8015 MB / 0.9606 GB, free: 2.242 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","../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches