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.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.0009541/0.0009541, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009478/0.0009478, allocations: 169 kB / 24.06 MB, free: 456 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 0.96/0.96, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.103/2.103, allocations: 429.5 MB / 0.6743 GB, free: 3.938 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.11e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003035/0.003067, allocations: 1.55 MB / 0.8809 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.003391, allocations: 117 kB / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.003431, allocations: 0 / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.508e-05/0.003486, allocations: 7.922 kB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.003552, allocations: 10.5 kB / 0.881 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.003783, allocations: 25.19 kB / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.003878, allocations: 55.78 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.003972, allocations: 4 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.503e-05/0.004047, allocations: 31.89 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.004099, allocations: 12.48 kB / 0.8812 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.004115, allocations: 4.906 kB / 0.8812 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.084e-05/0.004206, allocations: 35.95 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.004252, allocations: 19.38 kB / 0.8812 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.004302, allocations: 15.92 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.004458, allocations: 63.78 kB / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.00446, allocations: 0 / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004461, allocations: 0 / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.004465, allocations: 0 / 0.8813 GB, free: 4.105 MB / 0.8386 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.0004387/0.004904, allocations: 400.3 kB / 0.8817 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.004946, allocations: 12.03 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.005208, allocations: 42.92 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.005313, allocations: 128.5 kB / 0.8818 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.005325, allocations: 384 / 0.8818 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.005338, allocations: 8.375 kB / 0.8819 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.005512, allocations: 74.92 kB / 0.8819 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.00552, allocations: 192 / 0.8819 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.005532, allocations: 4.375 kB / 0.8819 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.00556, allocations: 16.36 kB / 0.8819 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.005626, allocations: 35.86 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.00611, allocations: 331.7 kB / 0.8823 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.931e-05/0.006199, allocations: 35.16 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.006232, allocations: 19.67 kB / 0.8823 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.006242, allocations: 0 / 0.8823 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.006264, allocations: 41.33 kB / 0.8824 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.006266, allocations: 0 / 0.8824 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001698/0.006435, allocations: 61.58 kB / 0.8824 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.006469, allocations: 59.41 kB / 0.8825 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.00659, allocations: 199.8 kB / 0.8827 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.006605, allocations: 29.69 kB / 0.8827 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.006684, allocations: 170.6 kB / 0.8829 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.006697, allocations: 11.94 kB / 0.8829 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.006755, allocations: 39.31 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.006887, allocations: 0.4961 MB / 0.8834 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.368e-05/0.006921, allocations: 16 kB / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.705e-05/0.007008, allocations: 108.5 kB / 0.8835 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.007139, allocations: 144.4 kB / 0.8837 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.007142, allocations: 0 / 0.8837 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002523/0.007394, allocations: 117.6 kB / 0.8838 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.007409, allocations: 4 kB / 0.8838 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.007415, allocations: 4 kB / 0.8838 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.007429, allocations: 8.031 kB / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.007557, allocations: 27.92 kB / 0.8838 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.007563, allocations: 7.984 kB / 0.8838 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.514e-05/0.007649, allocations: 15.89 kB / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.007661, allocations: 8.312 kB / 0.8839 GB, free: 1.184 MB / 0.8386 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.113e-05/0.007742, allocations: 168.5 kB / 0.884 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.007772, allocations: 7.953 kB / 0.884 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.007805, allocations: 20.33 kB / 0.884 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007807, allocations: 0 / 0.884 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.007808, allocations: 0 / 0.884 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.007813, allocations: 4 kB / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.007963, allocations: 117.2 kB / 0.8842 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.007966, allocations: 3.938 kB / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.008041, allocations: 11.98 kB / 0.8842 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008043, allocations: 4 kB / 0.8842 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.00805, allocations: 0 / 0.8842 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008051, allocations: 0 / 0.8842 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008052, allocations: 3.938 kB / 0.8842 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.008199, allocations: 199.9 kB / 0.8844 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.008213, allocations: 15.88 kB / 0.8844 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.008227, allocations: 0 / 0.8844 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.008316, allocations: 7.984 kB / 0.8844 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.008353, allocations: 8 kB / 0.8844 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.008358, allocations: 0 / 0.8844 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.008418, allocations: 141.2 kB / 0.8845 GB, free: 436 kB / 0.8386 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008418, allocations: 4 kB / 0.8845 GB, free: 432 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002743/0.008692, allocations: 16 kB / 0.8846 GB, free: 416 kB / 0.8386 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 8.668e-05/0.008779, allocations: 91.25 kB / 0.8846 GB, free: 312 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.008917, allocations: 58.41 kB / 0.8847 GB, free: 252 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008919, allocations: 0 / 0.8847 GB, free: 252 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.008963, allocations: 24.3 kB / 0.8847 GB, free: 224 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.009231, allocations: 15.88 kB / 0.8847 GB, free: 208 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.009568, allocations: 174.4 kB / 0.8849 GB, free: 4 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.787e-05/0.009626, allocations: 63.34 kB / 0.885 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.839e-05/0.009694, allocations: 12.48 kB / 0.885 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.009776, allocations: 78.2 kB / 0.8851 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/0.009776, allocations: 3.938 kB / 0.8851 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.003384/0.01316, allocations: 1.124 MB / 0.8862 GB, free: 14.72 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.266044383868575]