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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_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.0008577/0.0008577, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008509/0.000851, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 462.6 MB / 0.737 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 9.25 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3482, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00169/0.35, allocations: 1.214 MB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000365/0.3503, allocations: 119.7 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.3504, allocations: 0 / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.3504, allocations: 7.938 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.275e-05/0.3505, allocations: 7.938 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.3507, allocations: 23.91 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.3508, allocations: 51.78 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.3509, allocations: 4 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.3509, allocations: 15.92 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.351, allocations: 23.91 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.351, allocations: 4 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.3511, allocations: 39.95 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.3511, allocations: 8 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.3512, allocations: 49.5 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.3513, allocations: 47.91 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3513, allocations: 0 / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3513, allocations: 0 / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.3513, allocations: 0 / 1.061 GB, free: 3.305 MB / 0.8106 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.0005261/0.3519, allocations: 391.5 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3519, allocations: 11.97 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.3519, allocations: 8.844 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3521, allocations: 172.3 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3521, allocations: 8.312 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3521, allocations: 4.375 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.3524, allocations: 122.2 kB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.3524, allocations: 192 / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3525, allocations: 7.938 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.3525, allocations: 8 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.3529, allocations: 151.8 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.3533, allocations: 336.6 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3536, allocations: 70.47 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.3538, allocations: 48.92 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.354, allocations: 125.1 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.354, allocations: 34.56 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.3541, allocations: 0 / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005915/0.3547, allocations: 169.4 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3547, allocations: 55.34 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3548, allocations: 155.5 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3548, allocations: 25.7 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.3549, allocations: 123.7 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.3549, allocations: 11.81 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.355, allocations: 13.72 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3551, allocations: 318.8 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.3553, allocations: 59.95 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.3555, allocations: 129.4 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.3559, allocations: 185.2 kB / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3559, allocations: 4 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004555/0.3564, allocations: 201.4 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3564, allocations: 4 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3564, allocations: 4 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3564, allocations: 4 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3566, allocations: 43.84 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3566, allocations: 4 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.3567, allocations: 36.05 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.3568, allocations: 8 kB / 1.064 GB, free: 4 kB / 0.8106 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 0.0001184/0.3569, allocations: 125.8 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.3569, allocations: 7.906 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.3574, allocations: 141.9 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3574, allocations: 8.203 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3574, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3574, allocations: 3.938 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3576, allocations: 189.5 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3576, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.3577, allocations: 19.98 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3577, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3577, allocations: 4 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.3577, allocations: 3.938 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3577, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.3581, allocations: 223.4 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.3582, allocations: 81.02 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3582, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3583, allocations: 23.92 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3584, allocations: 7.984 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3584, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.465e-05/0.3585, allocations: 112.8 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.463e-06/0.3585, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002571/0.3587, allocations: 19.92 kB / 1.065 GB, free: 14.95 MB / 0.8262 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.000148/0.3589, allocations: 103.2 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.3593, allocations: 132.5 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3593, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3595, allocations: 47.91 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3598, allocations: 3.984 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.3601, allocations: 218.7 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3604, allocations: 0.6887 MB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.3605, allocations: 15.44 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3605, allocations: 7.875 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of Templates: time 0.002646/0.3631, allocations: 1.18 MB / 1.067 GB, free: 12.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) 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) Reference file matches