Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001349/0.001349, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00149/0.00149, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.239/3.239, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 66.88 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3857, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002042/0.3877, allocations: 0.6396 MB / 1.355 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.3901, allocations: 1.525 MB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.3901, allocations: 0 / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.3901, allocations: 0 / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.386e-05/0.3902, allocations: 7.938 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.3908, allocations: 123.5 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.3909, allocations: 27.97 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.3909, allocations: 7.938 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.391, allocations: 11.92 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.391, allocations: 19.92 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.3911, allocations: 0 / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.3916, allocations: 331.3 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.3916, allocations: 0 / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.3916, allocations: 15.92 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.3919, allocations: 187.4 kB / 1.357 GB, free: 5.043 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3919, allocations: 4 kB / 1.357 GB, free: 5.039 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.597e-06/0.3919, allocations: 11.86 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.392, allocations: 0 / 1.357 GB, free: 5.027 MB / 1.045 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.0005283/0.3925, allocations: 301.8 kB / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3925, allocations: 8.031 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.3929, allocations: 64.86 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.3931, allocations: 122.4 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3931, allocations: 4.359 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3931, allocations: 4.375 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.3934, allocations: 81.95 kB / 1.358 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3934, allocations: 0 / 1.358 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3934, allocations: 0 / 1.358 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3934, allocations: 0 / 1.358 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.3938, allocations: 75.86 kB / 1.358 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.394, allocations: 144.7 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.3945, allocations: 122.5 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.3947, allocations: 40.94 kB / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.3947, allocations: 0 / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3948, allocations: 42.5 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.3948, allocations: 0 / 1.358 GB, free: 3.914 MB / 1.045 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.003892/0.3987, allocations: 0.7803 MB / 1.359 GB, free: 3.129 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.3987, allocations: 59.39 kB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3988, allocations: 113.8 kB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3988, allocations: 25.7 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.3989, allocations: 88.14 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.3989, allocations: 31.69 kB / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.399, allocations: 25.7 kB / 1.359 GB, free: 2.754 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3991, allocations: 318.8 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.3995, allocations: 99.89 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.3999, allocations: 99.84 kB / 1.36 GB, free: 2.238 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.4007, allocations: 192.9 kB / 1.36 GB, free: 2.047 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4007, allocations: 4 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008561/0.4015, allocations: 249.3 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4015, allocations: 4 kB / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4015, allocations: 0 / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4016, allocations: 0 / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.4019, allocations: 52.69 kB / 1.36 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4019, allocations: 4 kB / 1.36 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.4021, allocations: 39.95 kB / 1.36 GB, free: 1.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4021, allocations: 0 / 1.36 GB, free: 1.695 MB / 1.045 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.0001013/0.4022, allocations: 130.3 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.4022, allocations: 7.953 kB / 1.36 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.4023, allocations: 12.36 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4023, allocations: 0 / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4023, allocations: 4 kB / 1.36 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4023, allocations: 4 kB / 1.36 GB, free: 1.531 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.4039, allocations: 0.5652 MB / 1.361 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4039, allocations: 0 / 1.361 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.4041, allocations: 56 kB / 1.361 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4041, allocations: 0 / 1.361 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4041, allocations: 8 kB / 1.361 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4041, allocations: 3.938 kB / 1.361 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4041, allocations: 0 / 1.361 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.405, allocations: 348.9 kB / 1.361 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.405, allocations: 8.141 kB / 1.361 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4051, allocations: 3.984 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.4053, allocations: 39.91 kB / 1.361 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.4054, allocations: 19.91 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.4054, allocations: 7.938 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of sorting global known variables: time 6.045e-05/0.4054, allocations: 91.27 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4054, allocations: 0 / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002915/0.4057, allocations: 35.88 kB / 1.361 GB, free: 284 kB / 1.045 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.0002276/0.406, allocations: 131.1 kB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008855/0.4068, allocations: 203.8 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4068, allocations: 0 / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.4073, allocations: 108 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.4075, allocations: 8 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.409, allocations: 435.8 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4093, allocations: 0.6846 MB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.4094, allocations: 19.42 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4094, allocations: 0 / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of Templates: time 0.003372/0.4127, allocations: 1.438 MB / 1.364 GB, free: 13.2 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.030089693987975]