Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.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.001075/0.001075, 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.001726/0.001726, allocations: 185 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.027/1.027, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.77/1.77, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.406e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001778/0.001792, allocations: 1.489 MB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.002688, allocations: 0.7715 MB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.002722, allocations: 0 / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.002745, allocations: 4 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.002788, allocations: 3.938 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.003126, allocations: 137.1 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.306e-05/0.003179, allocations: 33.08 kB / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.122e-05/0.00325, allocations: 7.984 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.116e-05/0.003301, allocations: 19.92 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.003343, allocations: 14.17 kB / 0.79 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.003358, allocations: 4 kB / 0.79 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.003618, allocations: 251.5 kB / 0.7902 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.003632, allocations: 7.984 kB / 0.7902 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.003646, allocations: 4 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.003864, allocations: 211.4 kB / 0.7904 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003866, allocations: 2.031 kB / 0.7904 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003866, allocations: 0 / 0.7904 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.00387, allocations: 7.938 kB / 0.7904 GB, free: 9.215 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003376/0.004208, allocations: 388.2 kB / 0.7908 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.004244, allocations: 13.59 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.004452, allocations: 50.62 kB / 0.7909 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.387e-05/0.004526, allocations: 112.6 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.004538, allocations: 9.375 kB / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.004546, allocations: 384 / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.004677, allocations: 76.84 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.004683, allocations: 192 / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.00469, allocations: 384 / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004696, allocations: 3.938 kB / 0.7911 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.00473, allocations: 18.58 kB / 0.7911 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.004987, allocations: 256.4 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.005066, allocations: 55.75 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.005085, allocations: 12.22 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.005098, allocations: 1.656 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.005117, allocations: 33.39 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.005118, allocations: 0 / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.00524, allocations: 54.28 kB / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.005264, allocations: 55.34 kB / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/0.005322, allocations: 162.9 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.005331, allocations: 29.7 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.005367, allocations: 126.9 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.005382, allocations: 9.047 kB / 0.7919 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.005413, allocations: 27.36 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.005518, allocations: 496.1 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.005535, allocations: 5.375 kB / 0.7924 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.00555, allocations: 4 kB / 0.7924 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.005583, allocations: 20.52 kB / 0.7924 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005585, allocations: 3.938 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.125e-05/0.005646, allocations: 46.44 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.005655, allocations: 5.281 kB / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.00566, allocations: 3.938 kB / 0.7924 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.00567, allocations: 0 / 0.7924 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.005734, allocations: 16.81 kB / 0.7925 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.005737, allocations: 4 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.005767, allocations: 9 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.005772, allocations: 5.422 kB / 0.7925 GB, free: 6.965 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.384e-05/0.005826, allocations: 156.6 kB / 0.7926 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.005839, allocations: 0 / 0.7926 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.005864, allocations: 12.56 kB / 0.7926 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.005865, allocations: 0 / 0.7926 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005867, allocations: 0 / 0.7926 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.005869, allocations: 0 / 0.7926 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.933e-05/0.005958, allocations: 104.3 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005959, allocations: 4 kB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.005994, allocations: 11.98 kB / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.005996, allocations: 0 / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.006, allocations: 256 / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006002, allocations: 4 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.006004, allocations: 7.938 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.834e-05/0.006102, allocations: 188.4 kB / 0.7929 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.006107, allocations: 5.297 kB / 0.7929 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.006118, allocations: 11.98 kB / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.006162, allocations: 5.062 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.006189, allocations: 11.92 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.006191, allocations: 0 / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.106e-05/0.006223, allocations: 127.8 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006223, allocations: 0 / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001462/0.006369, allocations: 16.45 kB / 0.7931 GB, free: 6.262 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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 9.691e-05/0.006466, allocations: 102.1 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.82e-05/0.006534, allocations: 23.67 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006535, allocations: 0 / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.006556, allocations: 23.56 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.006711, allocations: 15.72 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.006938, allocations: 134.2 kB / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.006967, allocations: 52.33 kB / 0.7934 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.007005, allocations: 12.95 kB / 0.7935 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.007058, allocations: 74.69 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.007059, allocations: 0 / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of Templates: time 0.00213/0.009189, allocations: 0.9798 MB / 0.7945 GB, free: 4.809 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.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: 4.888642180711031]