Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.0009431/0.0009431, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009585/0.0009585, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 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.954/0.954, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.771/1.771, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.443e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001221/0.001246, allocations: 0.6491 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.002708, allocations: 1.475 MB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.002742, allocations: 1.562 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.002763, allocations: 3.938 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.002832, allocations: 0 / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.003203, allocations: 133.5 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.00326, allocations: 29.94 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.003299, allocations: 4 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.003345, allocations: 19.92 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.003401, allocations: 11.97 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.003419, allocations: 4 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.003699, allocations: 249.6 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.003716, allocations: 7.922 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.003738, allocations: 8 kB / 0.7897 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.00398, allocations: 203.4 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003983, allocations: 0 / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003984, allocations: 0 / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003988, allocations: 4.438 kB / 0.7899 GB, free: 9.613 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004382/0.004426, allocations: 397.8 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.004465, allocations: 8.031 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.004685, allocations: 47.38 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.004784, allocations: 120.5 kB / 0.7904 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.004801, allocations: 8.312 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.004826, allocations: 6.125 kB / 0.7904 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.004977, allocations: 70.92 kB / 0.7905 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.00499, allocations: 5.094 kB / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.004999, allocations: 384 / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.005011, allocations: 3.938 kB / 0.7905 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.005065, allocations: 20.61 kB / 0.7905 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.005205, allocations: 122.6 kB / 0.7907 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.097e-05/0.005296, allocations: 59.05 kB / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.005329, allocations: 23.67 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.005348, allocations: 4 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.00537, allocations: 35.86 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.005371, allocations: 0 / 0.7908 GB, free: 8.582 MB / 0.7448 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.001166/0.006537, allocations: 404.1 kB / 0.7912 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.006566, allocations: 56.56 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.006653, allocations: 169.9 kB / 0.7914 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.006666, allocations: 25.7 kB / 0.7914 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.006707, allocations: 138 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.006739, allocations: 31.7 kB / 0.7916 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.006784, allocations: 35.36 kB / 0.7916 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.0069, allocations: 0.4884 MB / 0.7921 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/0.00695, allocations: 23.98 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.281e-05/0.007003, allocations: 23.98 kB / 0.7921 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.007086, allocations: 51.62 kB / 0.7922 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.007087, allocations: 4.438 kB / 0.7922 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000143/0.00723, allocations: 99.3 kB / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.007244, allocations: 4 kB / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.00725, allocations: 3.938 kB / 0.7923 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.007266, allocations: 0.5 kB / 0.7923 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.007408, allocations: 41.3 kB / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.007415, allocations: 0.9062 kB / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.007481, allocations: 23.44 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.007492, allocations: 4 kB / 0.7923 GB, free: 6.922 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 (9): * Single equations (assignments): 9 * 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 7.143e-05/0.007563, allocations: 160.6 kB / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.007582, allocations: 11.95 kB / 0.7925 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.007617, allocations: 12.38 kB / 0.7925 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.00762, allocations: 4 kB / 0.7925 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.007625, allocations: 3.984 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.007628, allocations: 2.344 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.008144, allocations: 438.6 kB / 0.7929 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.008146, allocations: 0 / 0.7929 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-05/0.008234, allocations: 38.84 kB / 0.793 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.008237, allocations: 0 / 0.793 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.008254, allocations: 11.98 kB / 0.793 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008255, allocations: 0.5312 kB / 0.793 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.008257, allocations: 8.062 kB / 0.793 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.008431, allocations: 263.1 kB / 0.7932 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.008441, allocations: 3.984 kB / 0.7933 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.008456, allocations: 8 kB / 0.7933 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.008534, allocations: 15.98 kB / 0.7933 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.00857, allocations: 11.98 kB / 0.7933 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.008579, allocations: 11.98 kB / 0.7933 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.008618, allocations: 131.6 kB / 0.7934 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008618, allocations: 0 / 0.7934 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001964/0.008814, allocations: 39.88 kB / 0.7935 GB, free: 5.691 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001578/0.008972, allocations: 127.1 kB / 0.7936 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.009128, allocations: 75.58 kB / 0.7937 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00913, allocations: 4 kB / 0.7937 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/0.009187, allocations: 47.97 kB / 0.7937 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.009361, allocations: 23.86 kB / 0.7937 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.009842, allocations: 272.7 kB / 0.794 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.009882, allocations: 63.34 kB / 0.794 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.875e-05/0.009941, allocations: 29.31 kB / 0.7941 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.009996, allocations: 20.48 kB / 0.7941 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.009997, allocations: 0 / 0.7941 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.003163/0.01316, allocations: 1.798 MB / 0.7959 GB, free: 3.188 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_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: 5.016379555221647]