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.001239/0.00124, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001009/0.001009, allocations: 172.7 kB / 15.95 MB, free: 208 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.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.305 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.47/2.47, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005867/0.0005867, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8517/0.8523, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001555/0.8539, allocations: 1.2 MB / 0.9556 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.8542, allocations: 113.6 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.8543, allocations: 0 / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.8543, allocations: 0.9375 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.8544, allocations: 10.27 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.8546, allocations: 21.17 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.8547, allocations: 43.55 kB / 0.9558 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.8548, allocations: 12.06 kB / 0.9558 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.8549, allocations: 18.27 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.8549, allocations: 22.75 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.855, allocations: 2.906 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.855, allocations: 28.62 kB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.8551, allocations: 15.17 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.8551, allocations: 32.08 kB / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.8552, allocations: 49.22 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8552, allocations: 0 / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8552, allocations: 1.438 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.8553, allocations: 7.938 kB / 0.956 GB, free: 6.484 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.0004357/0.8557, allocations: 380.4 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.8557, allocations: 13.16 kB / 0.9563 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.8558, allocations: 10.67 kB / 0.9564 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.615e-05/0.8559, allocations: 169.8 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8559, allocations: 1.344 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.8559, allocations: 1.531 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.8562, allocations: 122.6 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8562, allocations: 0 / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.8562, allocations: 5.219 kB / 0.9566 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.8563, allocations: 11.19 kB / 0.9566 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.8566, allocations: 149.4 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.857, allocations: 346.7 kB / 0.9571 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.8572, allocations: 71.28 kB / 0.9572 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.8574, allocations: 44.89 kB / 0.9572 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.8576, allocations: 122 kB / 0.9573 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.8576, allocations: 39.69 kB / 0.9574 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8576, allocations: 0 / 0.9574 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004978/0.8581, allocations: 169.9 kB / 0.9575 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.8581, allocations: 52.44 kB / 0.9576 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.8583, allocations: 146.4 kB / 0.9577 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.8583, allocations: 25.7 kB / 0.9578 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.8583, allocations: 121.4 kB / 0.9579 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.8583, allocations: 9.25 kB / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.8584, allocations: 5.219 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.8584, allocations: 320.3 kB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.8586, allocations: 55.39 kB / 0.9583 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.8587, allocations: 130.5 kB / 0.9584 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.8589, allocations: 85.2 kB / 0.9585 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8589, allocations: 1.719 kB / 0.9585 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003853/0.8593, allocations: 200.6 kB / 0.9586 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8593, allocations: 12.19 kB / 0.9587 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8593, allocations: 2.562 kB / 0.9587 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.8594, allocations: 3.875 kB / 0.9587 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.8595, allocations: 47.22 kB / 0.9587 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8595, allocations: 3.656 kB / 0.9587 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.8597, allocations: 30.14 kB / 0.9587 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.8597, allocations: 8.969 kB / 0.9588 GB, free: 4.102 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.999e-05/0.8598, allocations: 127.1 kB / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.8598, allocations: 15.5 kB / 0.9589 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.8602, allocations: 133.6 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8602, allocations: 5.359 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8602, allocations: 4 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8602, allocations: 0 / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.8603, allocations: 170 kB / 0.9592 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8603, allocations: 11.94 kB / 0.9592 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.8604, allocations: 20.48 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8604, allocations: 0 / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.8605, allocations: 1.375 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8605, allocations: 0 / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.8605, allocations: 1.375 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.8608, allocations: 226.6 kB / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.8608, allocations: 86.44 kB / 0.9595 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.8608, allocations: 1.375 kB / 0.9595 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.8609, allocations: 14.98 kB / 0.9595 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.861, allocations: 10.73 kB / 0.9595 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.861, allocations: 2.75 kB / 0.9595 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.8611, allocations: 106.3 kB / 0.9596 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8611, allocations: 5.312 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002663/0.8613, allocations: 17.75 kB / 0.9597 GB, free: 3.27 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.0001415/0.8615, allocations: 108.8 kB / 0.9598 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.8619, allocations: 130.4 kB / 0.9599 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8619, allocations: 0 / 0.9599 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.862, allocations: 47.97 kB / 0.9599 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.8623, allocations: 12.61 kB / 0.96 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.8627, allocations: 184.5 kB / 0.9601 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.8628, allocations: 0.6884 MB / 0.9608 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.709e-05/0.8629, allocations: 25.72 kB / 0.9608 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.8629, allocations: 12.31 kB / 0.9608 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.863, allocations: 0 / 0.9608 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.003047/0.866, allocations: 0.8105 MB / 0.9616 GB, free: 1.797 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