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.001883/0.001883, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.001963/0.001963, allocations: 165.3 kB / 23.56 MB, free: 0.8672 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 1.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.971/2.971, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.453e-06/1.453e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.266e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001783/0.001816, allocations: 0.6406 MB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.004026, allocations: 1.452 MB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.004053, allocations: 0.9062 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.004068, allocations: 3.938 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.004141, allocations: 4.984 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.004668, allocations: 125.8 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.867e-05/0.004726, allocations: 23.92 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.004769, allocations: 4.844 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.004843, allocations: 23.91 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.004903, allocations: 16.62 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.004919, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.005347, allocations: 248.1 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.005366, allocations: 7.938 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.005392, allocations: 13.62 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.005736, allocations: 199.4 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005739, allocations: 0 / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005739, allocations: 0 / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.005743, allocations: 0 / 0.7891 GB, free: 9.996 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.0005618/0.006305, allocations: 405.1 kB / 0.7895 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.006348, allocations: 13.62 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.0067, allocations: 48.36 kB / 0.7896 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.006883, allocations: 124.5 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.0069, allocations: 384 / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.006919, allocations: 4.375 kB / 0.7897 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.007143, allocations: 62.16 kB / 0.7898 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.007157, allocations: 4.188 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.007166, allocations: 1 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.007172, allocations: 3.938 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.007425, allocations: 54.31 kB / 0.7898 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.007629, allocations: 120.7 kB / 0.7899 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.008023, allocations: 101.8 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.008159, allocations: 41.59 kB / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.008178, allocations: 4 kB / 0.7901 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.008212, allocations: 33.39 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.008213, allocations: 1.031 kB / 0.7901 GB, free: 8.883 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.003028/0.01124, allocations: 0.565 MB / 0.7907 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.01129, allocations: 55.41 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.01144, allocations: 173.9 kB / 0.7909 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.01147, allocations: 29.7 kB / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.01155, allocations: 135.8 kB / 0.791 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.01161, allocations: 31.75 kB / 0.7911 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.01169, allocations: 35.36 kB / 0.7911 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.01195, allocations: 0.4932 MB / 0.7916 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.01225, allocations: 70.14 kB / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.01257, allocations: 79.47 kB / 0.7917 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.01313, allocations: 142.4 kB / 0.7919 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.01314, allocations: 0 / 0.7919 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006792/0.01381, allocations: 181.6 kB / 0.792 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01383, allocations: 7.938 kB / 0.792 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01384, allocations: 3.938 kB / 0.792 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.01385, allocations: 4 kB / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.01431, allocations: 39.95 kB / 0.7921 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.01432, allocations: 0 / 0.7921 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.0145, allocations: 27.97 kB / 0.7921 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.01451, allocations: 4 kB / 0.7921 GB, free: 6.777 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 0.0001325/0.01465, allocations: 160.5 kB / 0.7923 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.01468, allocations: 11.95 kB / 0.7923 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.01472, allocations: 16.38 kB / 0.7923 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01473, allocations: 3.984 kB / 0.7923 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01473, allocations: 0 / 0.7923 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01473, allocations: 0 / 0.7923 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.01612, allocations: 0.5199 MB / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01612, allocations: 4 kB / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.01633, allocations: 31.97 kB / 0.7928 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.01633, allocations: 4 kB / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.01635, allocations: 12.05 kB / 0.7929 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.01636, allocations: 4.75 kB / 0.7929 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01636, allocations: 0 / 0.7929 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.01715, allocations: 347.1 kB / 0.7932 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.01717, allocations: 7.953 kB / 0.7932 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.01719, allocations: 0 / 0.7932 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.01739, allocations: 23.97 kB / 0.7932 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.01744, allocations: 23.92 kB / 0.7932 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01746, allocations: 0 / 0.7932 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.205e-05/0.01755, allocations: 139.2 kB / 0.7934 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01755, allocations: 3.938 kB / 0.7934 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002879/0.01784, allocations: 35.92 kB / 0.7934 GB, free: 5.359 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.0002343/0.01807, allocations: 127.1 kB / 0.7935 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007173/0.01879, allocations: 171.5 kB / 0.7937 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01879, allocations: 0 / 0.7937 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.01913, allocations: 87.56 kB / 0.7938 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.01939, allocations: 25.45 kB / 0.7938 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.02057, allocations: 321.4 kB / 0.7941 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.89e-05/0.02064, allocations: 68.66 kB / 0.7942 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.02075, allocations: 21.28 kB / 0.7942 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.02083, allocations: 24.48 kB / 0.7942 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.02083, allocations: 0 / 0.7942 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of Templates: time 0.005318/0.02615, allocations: 1.793 MB / 0.796 GB, free: 2.676 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9209613220300525]