Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 181 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.077/1.077, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.919/1.919, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.649e-05, allocations: 2.312 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.006499/0.006526, allocations: 1.537 MB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.009931, allocations: 116.8 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.00998, allocations: 0 / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.409e-05/0.01003, allocations: 7.922 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.975e-05/0.0101, allocations: 9.469 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.01035, allocations: 27.97 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.678e-05/0.01043, allocations: 51.78 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.01053, allocations: 4.875 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.169e-05/0.0106, allocations: 27.95 kB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.01064, allocations: 12.77 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.01066, allocations: 4 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.01075, allocations: 45.58 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.01079, allocations: 11.94 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.01082, allocations: 15.92 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.01096, allocations: 67.78 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.01097, allocations: 0 / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.382e-06/0.01097, allocations: 1.531 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.01097, allocations: 0 / 0.8139 GB, free: 15.51 MB / 0.7761 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.0004217/0.01139, allocations: 396.3 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.01144, allocations: 16.52 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.01147, allocations: 10.64 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.011e-05/0.01156, allocations: 124.5 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.01157, allocations: 384 / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.01158, allocations: 8.359 kB / 0.8144 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.01175, allocations: 71.81 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.01175, allocations: 192 / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.01176, allocations: 384 / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.0118, allocations: 13.02 kB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.079e-05/0.01185, allocations: 30.59 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.01219, allocations: 304.7 kB / 0.8148 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.01226, allocations: 36.41 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.01228, allocations: 7.688 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.01249, allocations: 59.73 kB / 0.8149 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.01251, allocations: 37.39 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.01252, allocations: 0.5312 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001582/0.01267, allocations: 59.2 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001935/0.01461, allocations: 51.41 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.01474, allocations: 208.4 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.01476, allocations: 25.7 kB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.01484, allocations: 166.5 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.01485, allocations: 12.53 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.0149, allocations: 39.94 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.01504, allocations: 0.4961 MB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.01506, allocations: 8.75 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.01515, allocations: 111.1 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.01526, allocations: 132.7 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01526, allocations: 4 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001642/0.01543, allocations: 111.4 kB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01545, allocations: 10.22 kB / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01545, allocations: 0 / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.01547, allocations: 4 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01558, allocations: 31.92 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.01559, allocations: 4 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.01566, allocations: 26.75 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.01568, allocations: 8 kB / 0.8164 GB, free: 12.66 MB / 0.7761 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 8.14e-05/0.01576, allocations: 160.5 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.01579, allocations: 11.89 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.01592, allocations: 59.52 kB / 0.8166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01592, allocations: 0 / 0.8166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01593, allocations: 288 / 0.8166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01593, allocations: 0.625 kB / 0.8166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.01607, allocations: 113.2 kB / 0.8167 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.01608, allocations: 8.5 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.01614, allocations: 16.53 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01614, allocations: 1.312 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.01614, allocations: 3.938 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01615, allocations: 0 / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01615, allocations: 0 / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.01628, allocations: 204.9 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.0163, allocations: 15.83 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.01631, allocations: 0 / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.01638, allocations: 8.641 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.01641, allocations: 8.703 kB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.01642, allocations: 0 / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.01648, allocations: 146.9 kB / 0.8171 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01648, allocations: 0 / 0.8171 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002942/0.01678, allocations: 16 kB / 0.8172 GB, free: 11.85 MB / 0.7761 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.0001543/0.01693, allocations: 99.25 kB / 0.8173 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.01705, allocations: 51.52 kB / 0.8173 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01705, allocations: 0 / 0.8173 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.01708, allocations: 21.06 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01735, allocations: 13.48 kB / 0.8173 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.01768, allocations: 167.5 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.01773, allocations: 64.34 kB / 0.8176 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.645e-05/0.01778, allocations: 10.25 kB / 0.8176 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.01786, allocations: 82.19 kB / 0.8176 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01786, allocations: 1.281 kB / 0.8176 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of Templates: time 0.003497/0.02136, allocations: 1.115 MB / 0.8187 GB, free: 10.19 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Bicubic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.15801346860826]