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.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.001754/0.001754, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.002012/0.002012, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.167/3.167, allocations: 0.4899 GB / 0.7916 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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: 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.002072/0.002072, allocations: 75.69 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002178/0.3519, allocations: 0.7907 MB / 1.322 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.3542, allocations: 1.54 MB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.3542, allocations: 0 / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.3542, allocations: 3.938 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.926e-05/0.3543, allocations: 7.938 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.3548, allocations: 146.8 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.537e-05/0.3549, allocations: 43.95 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.3549, allocations: 4 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.355, allocations: 27.92 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.3551, allocations: 39.81 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3551, allocations: 8 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.3556, allocations: 319.3 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.3556, allocations: 11.98 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.3556, allocations: 27.86 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.356, allocations: 211.4 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.356, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.744e-06/0.356, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.356, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 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.0007335/0.3567, allocations: 406.9 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3568, allocations: 11.98 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.3573, allocations: 72.8 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3574, allocations: 168.3 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.3575, allocations: 8.375 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.3575, allocations: 8.328 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.3579, allocations: 121.8 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3579, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3579, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3579, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005513/0.3585, allocations: 99.91 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006488/0.3591, allocations: 340.6 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/0.3599, allocations: 158.4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.3601, allocations: 52.81 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3601, allocations: 4 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3602, allocations: 30.56 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3602, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 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.0202/0.3804, allocations: 2.838 MB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3804, allocations: 55.34 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3805, allocations: 105.8 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.3806, allocations: 29.7 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.3807, allocations: 88.08 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.055e-05/0.3808, allocations: 47.56 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.3809, allocations: 69.58 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3811, allocations: 314.8 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007532/0.3818, allocations: 191.8 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.3826, allocations: 191.8 kB / 1.33 GB, free: 9.965 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.3841, allocations: 392.5 kB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3841, allocations: 0 / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001797/0.3859, allocations: 486.3 kB / 1.33 GB, free: 9.098 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.3859, allocations: 8 kB / 1.33 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.386, allocations: 0 / 1.33 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.386, allocations: 3.984 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.3869, allocations: 103.8 kB / 1.331 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.3869, allocations: 7.938 kB / 1.331 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.3876, allocations: 43.94 kB / 1.331 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.3876, allocations: 32.94 kB / 1.331 GB, free: 8.902 MB / 1.029 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.000204/0.3878, allocations: 109.8 kB / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.3879, allocations: 7.938 kB / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.388, allocations: 11.97 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.388, allocations: 0 / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.388, allocations: 7.938 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.388, allocations: 3.984 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.3907, allocations: 1.051 MB / 1.332 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3907, allocations: 4 kB / 1.332 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/0.3916, allocations: 111.7 kB / 1.332 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3916, allocations: 3.938 kB / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.3916, allocations: 23.92 kB / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3916, allocations: 4 kB / 1.332 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3916, allocations: 0 / 1.332 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.3943, allocations: 0.7878 MB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.3944, allocations: 121 kB / 1.333 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.3945, allocations: 0 / 1.333 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.3952, allocations: 52 kB / 1.333 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3954, allocations: 28.02 kB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.3954, allocations: 23.88 kB / 1.333 GB, free: 6.398 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.3955, allocations: 79.28 kB / 1.333 GB, free: 6.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3955, allocations: 0 / 1.333 GB, free: 6.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004069/0.3959, allocations: 59.92 kB / 1.333 GB, free: 6.262 MB / 1.029 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.0003043/0.3962, allocations: 127 kB / 1.333 GB, free: 6.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.3979, allocations: 413 kB / 1.334 GB, free: 5.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3979, allocations: 4 kB / 1.334 GB, free: 5.723 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008227/0.3987, allocations: 227.7 kB / 1.334 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3991, allocations: 9.719 kB / 1.334 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.4037, allocations: 0.7581 MB / 1.335 GB, free: 4.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.404, allocations: 0.6924 MB / 1.335 GB, free: 3.992 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004856/0.4045, allocations: 92.67 kB / 1.335 GB, free: 3.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.4048, allocations: 55.3 kB / 1.335 GB, free: 3.848 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/0.4048, allocations: 0 / 1.335 GB, free: 3.848 MB / 1.029 GB Notification: Performance of Templates: time 0.007289/0.4121, allocations: 3.484 MB / 1.339 GB, free: 368 kB / 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: 9.045410900842398]