Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001737/0.001737, 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.001426/0.001426, 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.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.201/3.201, allocations: 496 MB / 0.7835 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 66.72 kB / 1.138 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3585, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002445/0.361, allocations: 0.8066 MB / 1.308 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.3634, allocations: 1.485 MB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.3634, allocations: 4 kB / 1.31 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.3635, allocations: 7.922 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.3635, allocations: 0 / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.3642, allocations: 143.5 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3643, allocations: 55.64 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.3643, allocations: 8 kB / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.744e-05/0.3644, allocations: 23.92 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.3645, allocations: 35.83 kB / 1.31 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3645, allocations: 4 kB / 1.31 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.365, allocations: 323.4 kB / 1.31 GB, free: 14.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.365, allocations: 11.98 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.365, allocations: 23.86 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.3654, allocations: 223.3 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3654, allocations: 0 / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3654, allocations: 0 / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.3654, allocations: 0 / 1.31 GB, free: 14.65 MB / 1.014 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.0006598/0.3661, allocations: 321.8 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3661, allocations: 16.86 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.3666, allocations: 76.8 kB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3667, allocations: 114.5 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.3668, allocations: 8.375 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.3668, allocations: 8.375 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.3672, allocations: 105.9 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3672, allocations: 4 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.3673, allocations: 4 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3673, allocations: 4 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.3678, allocations: 99.83 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.3685, allocations: 303.8 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.3692, allocations: 158.4 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.3695, allocations: 52.81 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3695, allocations: 4.141 kB / 1.312 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3695, allocations: 34.56 kB / 1.312 GB, free: 13.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3695, allocations: 0 / 1.312 GB, free: 13.24 MB / 1.014 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.01937/0.3889, allocations: 2.695 MB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3889, allocations: 55.34 kB / 1.314 GB, free: 10.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.389, allocations: 105.8 kB / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.3891, allocations: 29.64 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.3892, allocations: 88.09 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.3892, allocations: 43.69 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.3894, allocations: 65.58 kB / 1.315 GB, free: 10.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3895, allocations: 314.8 kB / 1.315 GB, free: 9.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.3903, allocations: 195.7 kB / 1.315 GB, free: 9.559 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.391, allocations: 191.8 kB / 1.315 GB, free: 9.371 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.3926, allocations: 399.2 kB / 1.316 GB, free: 8.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3926, allocations: 0 / 1.316 GB, free: 8.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0017/0.3943, allocations: 481.2 kB / 1.316 GB, free: 8.504 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3943, allocations: 6.188 kB / 1.316 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3943, allocations: 0 / 1.316 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3943, allocations: 0 / 1.316 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.3952, allocations: 115.8 kB / 1.316 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3952, allocations: 7.875 kB / 1.316 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.3959, allocations: 39.94 kB / 1.316 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.3959, allocations: 27.92 kB / 1.316 GB, free: 8.312 MB / 1.014 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.0001948/0.3961, allocations: 117.8 kB / 1.316 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.3962, allocations: 7.953 kB / 1.316 GB, free: 8.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.3963, allocations: 12.06 kB / 1.316 GB, free: 8.164 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3963, allocations: 0 / 1.316 GB, free: 8.164 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3963, allocations: 3.938 kB / 1.316 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3963, allocations: 3.984 kB / 1.316 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/0.3989, allocations: 1.022 MB / 1.317 GB, free: 7.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3989, allocations: 0 / 1.317 GB, free: 7.027 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009404/0.3998, allocations: 99.8 kB / 1.318 GB, free: 6.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.3998, allocations: 11.94 kB / 1.318 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.3999, allocations: 27.92 kB / 1.318 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3999, allocations: 0 / 1.318 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3999, allocations: 0 / 1.318 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.4024, allocations: 0.7917 MB / 1.318 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.4026, allocations: 43.83 kB / 1.318 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.4027, allocations: 7.984 kB / 1.318 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.4034, allocations: 44 kB / 1.318 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4035, allocations: 27.92 kB / 1.319 GB, free: 5.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.4036, allocations: 27.94 kB / 1.319 GB, free: 5.934 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.4036, allocations: 79.27 kB / 1.319 GB, free: 5.855 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4036, allocations: 0 / 1.319 GB, free: 5.855 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004005/0.404, allocations: 55.94 kB / 1.319 GB, free: 5.801 MB / 1.014 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.000232/0.4043, allocations: 108 kB / 1.319 GB, free: 5.688 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.4059, allocations: 419.5 kB / 1.319 GB, free: 5.277 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4059, allocations: 0 / 1.319 GB, free: 5.277 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008637/0.4067, allocations: 231.6 kB / 1.319 GB, free: 5.051 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.4072, allocations: 8 kB / 1.319 GB, free: 5.043 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.4122, allocations: 0.7556 MB / 1.32 GB, free: 4.262 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.4127, allocations: 0.6924 MB / 1.321 GB, free: 3.543 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007556/0.4134, allocations: 85 kB / 1.321 GB, free: 3.461 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.4138, allocations: 55.3 kB / 1.321 GB, free: 3.406 MB / 1.014 GB Notification: Performance of SimCode: time 1.493e-06/0.4138, allocations: 4 kB / 1.321 GB, free: 3.402 MB / 1.014 GB Notification: Performance of Templates: time 0.0094/0.4232, allocations: 3.598 MB / 1.324 GB, free: 15.8 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.953624744899571]