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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.945/2.945, allocations: 476.7 MB / 0.7646 GB, free: 9.902 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002055/0.002055, allocations: 71.88 kB / 1.11 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7956/0.7976, allocations: 168.8 MB / 1.274 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001919/0.7996, allocations: 0.6444 MB / 1.275 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.8016, allocations: 1.458 MB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.8016, allocations: 0 / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.8016, allocations: 0 / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.8017, allocations: 7.922 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.8021, allocations: 131.5 kB / 1.277 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.904e-05/0.8022, allocations: 23.92 kB / 1.277 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.8023, allocations: 7.938 kB / 1.277 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.8023, allocations: 15.92 kB / 1.277 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.8024, allocations: 19.92 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.8024, allocations: 0 / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.8029, allocations: 319.4 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.8029, allocations: 11.98 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.803, allocations: 15.88 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.8033, allocations: 186.1 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8033, allocations: 0 / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8033, allocations: 7.938 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.8033, allocations: 3.938 kB / 1.277 GB, free: 1.453 MB / 0.9669 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.0005837/0.8039, allocations: 305.8 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8039, allocations: 8.031 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.8043, allocations: 60.81 kB / 1.278 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.8045, allocations: 122.5 kB / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.8045, allocations: 384 / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.8045, allocations: 4.375 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.8048, allocations: 77.89 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.8048, allocations: 3.953 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.8048, allocations: 4 kB / 1.278 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.8048, allocations: 0 / 1.278 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003941/0.8052, allocations: 79.84 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.8054, allocations: 140.8 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.806, allocations: 118.5 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.8062, allocations: 44.94 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.8063, allocations: 0 / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.8063, allocations: 34.5 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.8063, allocations: 0 / 1.278 GB, free: 356 kB / 0.9669 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.004393/0.8107, allocations: 0.7881 MB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.8107, allocations: 55.41 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.8109, allocations: 117.8 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.8109, allocations: 29.7 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.8109, allocations: 88.12 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.811, allocations: 27.75 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.811, allocations: 29.7 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.8112, allocations: 318.8 kB / 1.28 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.8116, allocations: 95.91 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.8121, allocations: 103.8 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.813, allocations: 192.9 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.813, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009859/0.814, allocations: 249.3 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.814, allocations: 7.984 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.814, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.814, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.8144, allocations: 55.94 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8144, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.8146, allocations: 35.95 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.8146, allocations: 8 kB / 1.28 GB, free: 14.11 MB / 0.9825 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.000103/0.8147, allocations: 117.7 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.8148, allocations: 7.953 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.8148, allocations: 12.38 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8148, allocations: 0 / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8148, allocations: 7.922 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8148, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.8166, allocations: 0.5731 MB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8166, allocations: 0 / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.8169, allocations: 56 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.8169, allocations: 0 / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.8169, allocations: 8 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8169, allocations: 4.688 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8169, allocations: 0 / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.8179, allocations: 342.5 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.818, allocations: 7.953 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.818, allocations: 4.188 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.8183, allocations: 43.95 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.8183, allocations: 15.86 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.8183, allocations: 3.984 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.8184, allocations: 91.28 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8184, allocations: 4 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000302/0.8187, allocations: 35.92 kB / 1.282 GB, free: 12.71 MB / 0.9825 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.000218/0.8189, allocations: 127.1 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009997/0.8199, allocations: 207.7 kB / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8199, allocations: 0 / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.8204, allocations: 108 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.8206, allocations: 8 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.8223, allocations: 414 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.8226, allocations: 0.6885 MB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.8227, allocations: 20.67 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.8228, allocations: 19.42 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.8228, allocations: 0 / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.004893/0.8277, allocations: 1.718 MB / 1.285 GB, free: 9.348 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] 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: 8.779547430574894]