Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001661/0.001661, allocations: 76.22 kB / 19.76 MB, free: 1.863 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.001941/0.001941, allocations: 160.8 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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 2.869/2.869, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.002193/0.002193, allocations: 71.88 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8535/0.8557, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001748/0.8574, allocations: 0.7817 MB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.8589, allocations: 1.463 MB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.859, allocations: 0.9688 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.859, allocations: 4.594 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.859, allocations: 5.062 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.8595, allocations: 145.6 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.266e-05/0.8596, allocations: 51.91 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.8596, allocations: 7.719 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.8597, allocations: 24.22 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.8598, allocations: 27.06 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.8598, allocations: 3.562 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.8602, allocations: 250.9 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.8602, allocations: 18.97 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.8602, allocations: 24.17 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.8605, allocations: 204.9 kB / 1.19 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.8605, allocations: 0 / 1.19 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8605, allocations: 1.594 kB / 1.19 GB, free: 14.42 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.8605, allocations: 0 / 1.19 GB, free: 14.42 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005424/0.8611, allocations: 322.4 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.8611, allocations: 9.594 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.8615, allocations: 72.77 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.56e-05/0.8616, allocations: 111.4 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.8616, allocations: 3.062 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.8617, allocations: 12.56 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.862, allocations: 162.6 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.862, allocations: 5.031 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.8621, allocations: 1.672 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.8621, allocations: 1.094 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.8626, allocations: 101.4 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.863, allocations: 282.6 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.8637, allocations: 153.8 kB / 1.191 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.8639, allocations: 54.38 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.8639, allocations: 4 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.864, allocations: 33.61 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.864, allocations: 0 / 1.191 GB, free: 13.5 MB / 1.076 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=11): time 0.01863/0.8826, allocations: 2.684 MB / 1.193 GB, free: 12.86 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.8826, allocations: 52.56 kB / 1.194 GB, free: 12.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.508e-05/0.8827, allocations: 109.8 kB / 1.194 GB, free: 12.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.8827, allocations: 30.77 kB / 1.194 GB, free: 12.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.8827, allocations: 91.8 kB / 1.194 GB, free: 12.56 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.8828, allocations: 39.3 kB / 1.194 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.883, allocations: 69.56 kB / 1.194 GB, free: 12.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.883, allocations: 319.2 kB / 1.194 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.8837, allocations: 191.9 kB / 1.194 GB, free: 12.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/0.8844, allocations: 189.4 kB / 1.195 GB, free: 12.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.8858, allocations: 391.4 kB / 1.195 GB, free: 12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8858, allocations: 1.344 kB / 1.195 GB, free: 12 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001583/0.8874, allocations: 479.5 kB / 1.195 GB, free: 11.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.8874, allocations: 8.312 kB / 1.195 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8874, allocations: 0 / 1.195 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.8874, allocations: 1.094 kB / 1.195 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.8883, allocations: 115.5 kB / 1.195 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8883, allocations: 0 / 1.195 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.8889, allocations: 49.88 kB / 1.196 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.889, allocations: 24.55 kB / 1.196 GB, free: 11.84 MB / 1.076 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 (13): * Single equations (assignments): 13 * 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.0001057/0.8891, allocations: 117.4 kB / 1.196 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.8892, allocations: 12.2 kB / 1.196 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.8892, allocations: 10.12 kB / 1.196 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.8892, allocations: 1.734 kB / 1.196 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8892, allocations: 8 kB / 1.196 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.8892, allocations: 5.562 kB / 1.196 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.8913, allocations: 0.9639 MB / 1.197 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8913, allocations: 0 / 1.197 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008465/0.8922, allocations: 106 kB / 1.197 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8922, allocations: 0 / 1.197 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.8922, allocations: 23.7 kB / 1.197 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8922, allocations: 3.938 kB / 1.197 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8922, allocations: 0.9688 kB / 1.197 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.8946, allocations: 0.7967 MB / 1.198 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.8947, allocations: 40.94 kB / 1.198 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.8948, allocations: 5.531 kB / 1.198 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/0.8955, allocations: 51.92 kB / 1.198 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.8956, allocations: 26.08 kB / 1.198 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.8956, allocations: 24.36 kB / 1.198 GB, free: 10.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.062e-05/0.8956, allocations: 82.75 kB / 1.198 GB, free: 10.65 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8956, allocations: 1.062 kB / 1.198 GB, free: 10.65 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003705/0.896, allocations: 51.08 kB / 1.198 GB, free: 10.65 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001507/0.8962, allocations: 122.2 kB / 1.198 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.8976, allocations: 413.9 kB / 1.198 GB, free: 10.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8976, allocations: 0 / 1.198 GB, free: 10.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007276/0.8984, allocations: 225.1 kB / 1.199 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.8987, allocations: 13.5 kB / 1.199 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.9029, allocations: 0.7593 MB / 1.199 GB, free: 10.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.903, allocations: 74.95 kB / 1.199 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004656/0.9034, allocations: 93.55 kB / 1.199 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.9037, allocations: 55.23 kB / 1.199 GB, free: 10.04 MB / 1.076 GB Notification: Performance of SimCode: time 3.7e-07/0.9037, allocations: 0 / 1.199 GB, free: 10.04 MB / 1.076 GB Notification: Performance of Templates: time 0.006663/0.9103, allocations: 3.694 MB / 1.203 GB, free: 9.695 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.640881306957453]