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.0009181/0.0009181, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0008941/0.0008941, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8891/0.8891, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.749/1.749, allocations: 359 MB / 0.6052 GB, free: 11.02 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.383e-06/1.383e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.644e-05, allocations: 6.031 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001145/0.001161, allocations: 0.6484 MB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.002474, allocations: 1.469 MB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.0025, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.002518, allocations: 7.938 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.002588, allocations: 5.484 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.002928, allocations: 129.1 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.468e-05/0.002983, allocations: 23.92 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.255e-05/0.003016, allocations: 2.469 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.003061, allocations: 19.92 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.003114, allocations: 19.97 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.003127, allocations: 0 / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.003384, allocations: 247.4 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.0034, allocations: 15.92 kB / 0.7897 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.003417, allocations: 1.75 kB / 0.7897 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.003633, allocations: 203.4 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003635, allocations: 0 / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003636, allocations: 3.938 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.00364, allocations: 0 / 0.7899 GB, free: 9.645 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.0003512/0.003991, allocations: 402 kB / 0.7903 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.004024, allocations: 12.03 kB / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.004222, allocations: 46.77 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.00431, allocations: 120.5 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.004324, allocations: 1.75 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.004341, allocations: 4.375 kB / 0.7904 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.004474, allocations: 72.67 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.004483, allocations: 8.109 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004492, allocations: 4.375 kB / 0.7905 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004499, allocations: 5.25 kB / 0.7905 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.004551, allocations: 19.98 kB / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.004671, allocations: 124.7 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/0.004754, allocations: 51.58 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.004784, allocations: 25.73 kB / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.004796, allocations: 0 / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.004816, allocations: 41.33 kB / 0.7908 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.004816, allocations: 0 / 0.7908 GB, free: 8.605 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.001101/0.005917, allocations: 389.7 kB / 0.7911 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.005948, allocations: 64.62 kB / 0.7912 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.006023, allocations: 177.9 kB / 0.7914 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.006035, allocations: 29.7 kB / 0.7914 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.00607, allocations: 132.7 kB / 0.7915 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.006103, allocations: 31.7 kB / 0.7916 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.006143, allocations: 31.36 kB / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.006243, allocations: 0.4884 MB / 0.7921 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.816e-05/0.006291, allocations: 23.98 kB / 0.7921 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.006337, allocations: 30.58 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.015e-05/0.006417, allocations: 51.62 kB / 0.7922 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.006417, allocations: 3.938 kB / 0.7922 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001472/0.006565, allocations: 90.17 kB / 0.7923 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.006576, allocations: 4 kB / 0.7923 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.006584, allocations: 13.83 kB / 0.7923 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.006594, allocations: 0 / 0.7923 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.006727, allocations: 41.09 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.006732, allocations: 4 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.006797, allocations: 21.06 kB / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.006807, allocations: 4.656 kB / 0.7923 GB, free: 6.941 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 6.142e-05/0.006868, allocations: 157.3 kB / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.006885, allocations: 7.953 kB / 0.7925 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.006916, allocations: 23.45 kB / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.006917, allocations: 0 / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.006921, allocations: 0 / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.006923, allocations: 0 / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.007403, allocations: 447.3 kB / 0.793 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007404, allocations: 0 / 0.793 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.874e-05/0.007503, allocations: 41.08 kB / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.007505, allocations: 1.031 kB / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.007516, allocations: 4 kB / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007518, allocations: 0 / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.007519, allocations: 1.438 kB / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.007689, allocations: 263.1 kB / 0.7932 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.007699, allocations: 8.062 kB / 0.7933 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.007713, allocations: 4 kB / 0.7933 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.743e-05/0.00779, allocations: 19.98 kB / 0.7933 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.007824, allocations: 11.97 kB / 0.7933 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.007833, allocations: 4.375 kB / 0.7933 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.112e-05/0.007874, allocations: 139.1 kB / 0.7934 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007874, allocations: 0 / 0.7934 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001834/0.008058, allocations: 39.88 kB / 0.7935 GB, free: 5.719 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.000131/0.008189, allocations: 131.1 kB / 0.7936 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.008343, allocations: 75.58 kB / 0.7937 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008344, allocations: 0 / 0.7937 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.343e-05/0.008408, allocations: 43.61 kB / 0.7937 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.008571, allocations: 23.86 kB / 0.7937 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.009031, allocations: 273.5 kB / 0.794 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.53e-05/0.009067, allocations: 59.34 kB / 0.794 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.625e-05/0.009123, allocations: 21.3 kB / 0.7941 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.009176, allocations: 20.48 kB / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.009176, allocations: 0 / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of Templates: time 0.003464/0.01264, allocations: 1.95 MB / 0.796 GB, free: 3.074 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.68758698599413]