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.0008915/0.0008915, allocations: 81.95 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.001258/0.001258, allocations: 185.3 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 0.9315/0.9315, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.809/1.809, allocations: 359 MB / 0.6055 GB, free: 10.87 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 2.124e-06/2.124e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.879e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002179/0.002207, allocations: 0.6516 MB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.004324, allocations: 1.468 MB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.004372, allocations: 0 / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.004393, allocations: 3.938 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.004471, allocations: 1.188 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.004977, allocations: 130.7 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.175e-05/0.005048, allocations: 23.92 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.005091, allocations: 3.984 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.00516, allocations: 23.91 kB / 0.7899 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.005227, allocations: 15.92 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.005243, allocations: 1.906 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.005661, allocations: 251.5 kB / 0.7901 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.00568, allocations: 0 / 0.7901 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.005705, allocations: 15.92 kB / 0.7901 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.006021, allocations: 195.5 kB / 0.7903 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.006024, allocations: 1.531 kB / 0.7903 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.743e-06/0.006026, allocations: 4 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.006029, allocations: 0 / 0.7903 GB, free: 9.359 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.0007721/0.006802, allocations: 397.3 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.006845, allocations: 8.031 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.007099, allocations: 51.97 kB / 0.7908 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.007203, allocations: 124.4 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.00722, allocations: 4.359 kB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.00724, allocations: 4.375 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.007412, allocations: 73.95 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.007422, allocations: 192 / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.007431, allocations: 384 / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.007438, allocations: 7.875 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.007482, allocations: 15.98 kB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.007624, allocations: 103.9 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.007726, allocations: 63.02 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.007752, allocations: 11.69 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.007773, allocations: 4 kB / 0.7912 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.007801, allocations: 37.52 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.007802, allocations: 0 / 0.7912 GB, free: 8.359 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.001461/0.009263, allocations: 384.5 kB / 0.7916 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.009295, allocations: 55.41 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.0094, allocations: 173.9 kB / 0.7918 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.009417, allocations: 25.7 kB / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.009463, allocations: 126.9 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.009512, allocations: 35.72 kB / 0.792 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.009572, allocations: 31.36 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.009718, allocations: 0.4884 MB / 0.7925 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.009772, allocations: 16.86 kB / 0.7925 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.009819, allocations: 21.7 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.639e-05/0.009916, allocations: 51.59 kB / 0.7926 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009918, allocations: 5.344 kB / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001785/0.0101, allocations: 93.78 kB / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01011, allocations: 4 kB / 0.7927 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01012, allocations: 1.094 kB / 0.7927 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01014, allocations: 7.938 kB / 0.7927 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.01031, allocations: 37.28 kB / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.01032, allocations: 2.812 kB / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/0.01041, allocations: 23.97 kB / 0.7927 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01042, allocations: 0 / 0.7927 GB, free: 6.742 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 9.612e-05/0.01052, allocations: 160.6 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.01054, allocations: 6.094 kB / 0.7929 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.01059, allocations: 20.34 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.01059, allocations: 7.938 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01059, allocations: 0 / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.0106, allocations: 0 / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.01123, allocations: 413.5 kB / 0.7933 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01124, allocations: 0 / 0.7933 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.01137, allocations: 44.03 kB / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.01137, allocations: 3.938 kB / 0.7934 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01138, allocations: 7.984 kB / 0.7934 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.01139, allocations: 3.938 kB / 0.7934 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01139, allocations: 4 kB / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.01163, allocations: 247.2 kB / 0.7936 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.01164, allocations: 11.88 kB / 0.7936 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.01166, allocations: 4 kB / 0.7936 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.01178, allocations: 19.98 kB / 0.7936 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.01182, allocations: 11.98 kB / 0.7936 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01184, allocations: 7.984 kB / 0.7937 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.221e-05/0.01189, allocations: 131.2 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01189, allocations: 0 / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003198/0.01221, allocations: 43.86 kB / 0.7938 GB, free: 5.547 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.0002144/0.01242, allocations: 127.2 kB / 0.7939 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.01259, allocations: 63.58 kB / 0.794 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01259, allocations: 0 / 0.794 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.01266, allocations: 43.61 kB / 0.794 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.01293, allocations: 25.42 kB / 0.7941 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.01356, allocations: 269.4 kB / 0.7943 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.991e-05/0.01361, allocations: 63.28 kB / 0.7944 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.629e-05/0.0137, allocations: 20.73 kB / 0.7944 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.0138, allocations: 82.19 kB / 0.7945 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.0138, allocations: 0 / 0.7945 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of Templates: time 0.005131/0.01893, allocations: 1.949 MB / 0.7964 GB, free: 2.855 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: 4.815778851043433]