Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001806/0.001806, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.00224/0.00224, allocations: 171.4 kB / 22.46 MB, free: 5.355 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.594/1.594, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.667/2.667, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.951 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.214e-05, allocations: 2.281 kB / 0.951 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001776/0.001798, allocations: 0.7802 MB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.003972, allocations: 1.455 MB / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.004007, allocations: 0 / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.004038, allocations: 7.938 kB / 0.9532 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.004076, allocations: 11.88 kB / 0.9532 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.004595, allocations: 139.4 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.004699, allocations: 55.89 kB / 0.9534 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.004741, allocations: 7.984 kB / 0.9534 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.012e-05/0.004831, allocations: 31.91 kB / 0.9534 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.004889, allocations: 27.95 kB / 0.9535 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.004911, allocations: 4 kB / 0.9535 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.005326, allocations: 259.3 kB / 0.9537 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.005354, allocations: 19.91 kB / 0.9537 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.005386, allocations: 11.98 kB / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.005749, allocations: 227.3 kB / 0.954 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005752, allocations: 0 / 0.954 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005753, allocations: 0 / 0.954 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.005761, allocations: 4 kB / 0.954 GB, free: 8.406 MB / 0.8575 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.000682/0.006443, allocations: 329.8 kB / 0.9543 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.00648, allocations: 16.02 kB / 0.9543 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.006965, allocations: 68.81 kB / 0.9544 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.007092, allocations: 117.7 kB / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.007116, allocations: 4.375 kB / 0.9545 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.007145, allocations: 8.375 kB / 0.9545 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.007572, allocations: 166.8 kB / 0.9547 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.007585, allocations: 192 / 0.9547 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.007603, allocations: 4.359 kB / 0.9547 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.007609, allocations: 3.938 kB / 0.9547 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005244/0.008133, allocations: 103.9 kB / 0.9548 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.008715, allocations: 272.3 kB / 0.955 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.009424, allocations: 158.3 kB / 0.9552 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.009677, allocations: 52.8 kB / 0.9552 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.009688, allocations: 0 / 0.9552 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.009725, allocations: 38.56 kB / 0.9553 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.009726, allocations: 0 / 0.9553 GB, free: 6.969 MB / 0.8575 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.02135/0.03107, allocations: 2.68 MB / 0.9579 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.03114, allocations: 55.41 kB / 0.9579 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.03127, allocations: 105.8 kB / 0.958 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.03134, allocations: 29.7 kB / 0.9581 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.03142, allocations: 88.14 kB / 0.9581 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.03153, allocations: 39.64 kB / 0.9582 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.03181, allocations: 69.58 kB / 0.9582 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.03201, allocations: 322.8 kB / 0.9586 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.03312, allocations: 195.7 kB / 0.9587 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.03426, allocations: 191.8 kB / 0.9589 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/0.03662, allocations: 396.2 kB / 0.9593 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.03662, allocations: 4 kB / 0.9593 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002522/0.03915, allocations: 473.2 kB / 0.9598 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.03917, allocations: 11.94 kB / 0.9598 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.03918, allocations: 0 / 0.9598 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.0392, allocations: 0 / 0.9598 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.04041, allocations: 115.7 kB / 0.9599 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.04042, allocations: 400 / 0.9599 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.04132, allocations: 47.94 kB / 0.9599 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.04143, allocations: 27.92 kB / 0.96 GB, free: 2.051 MB / 0.8575 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.000247/0.04168, allocations: 117.8 kB / 0.9601 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.04181, allocations: 0 / 0.9601 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.71e-05/0.04188, allocations: 16.12 kB / 0.9601 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.04188, allocations: 0 / 0.9601 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.04189, allocations: 0 / 0.9601 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.04189, allocations: 0 / 0.9601 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/0.04554, allocations: 0.9686 MB / 0.961 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.04554, allocations: 0 / 0.961 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.04682, allocations: 111.8 kB / 0.9611 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.04683, allocations: 3.984 kB / 0.9611 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/0.04688, allocations: 19.94 kB / 0.9612 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.04689, allocations: 0 / 0.9612 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.04689, allocations: 0 / 0.9612 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/0.05081, allocations: 0.7955 MB / 0.9619 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.05104, allocations: 39.92 kB / 0.962 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.05114, allocations: 4 kB / 0.962 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009493/0.05209, allocations: 43.94 kB / 0.962 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.05227, allocations: 28.17 kB / 0.962 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.05239, allocations: 35.86 kB / 0.9621 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.929e-05/0.05246, allocations: 83.27 kB / 0.9622 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.05246, allocations: 0 / 0.9622 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006446/0.05311, allocations: 55.94 kB / 0.9622 GB, free: 15.62 MB / 0.8731 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.0003097/0.05342, allocations: 117.6 kB / 0.9623 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.05565, allocations: 419.5 kB / 0.9627 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.05565, allocations: 0 / 0.9627 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.05681, allocations: 224 kB / 0.9629 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.05738, allocations: 7.984 kB / 0.9629 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.06379, allocations: 0.7582 MB / 0.9637 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.06393, allocations: 83.27 kB / 0.9638 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008921/0.06482, allocations: 92.72 kB / 0.9638 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.06525, allocations: 52.38 kB / 0.9639 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of SimCode: time 1.273e-06/0.06525, allocations: 0 / 0.9639 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.01138/0.07663, allocations: 3.694 MB / 0.9675 GB, free: 10.15 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.050437975674868]