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.001598/0.001598, allocations: 77.23 kB / 19.76 MB, free: 2.031 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.001423/0.001423, allocations: 158.3 kB / 23.01 MB, free: 4.941 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.615/2.615, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00209/0.00209, allocations: 63.91 kB / 0.9516 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2805, allocations: 169.9 MB / 1.117 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001969/0.2825, allocations: 0.7801 MB / 1.118 GB, free: 1.703 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2844, allocations: 1.447 MB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.2844, allocations: 0 / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.2844, allocations: 7.938 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.08e-05/0.2845, allocations: 7.875 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.285, allocations: 153.9 kB / 1.12 GB, free: 76 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.285, allocations: 51.89 kB / 1.12 GB, free: 24 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.2851, allocations: 4 kB / 1.12 GB, free: 20 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/0.2852, allocations: 27.97 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.2852, allocations: 27.84 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2852, allocations: 7.938 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.2857, allocations: 247.5 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.2857, allocations: 12 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.2857, allocations: 27.91 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.286, allocations: 195.4 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.286, allocations: 4 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.312e-06/0.286, allocations: 0 / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.286, allocations: 0 / 1.12 GB, free: 15.48 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.0006239/0.2867, allocations: 333.8 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.2867, allocations: 8.031 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.2872, allocations: 72.8 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2873, allocations: 110.5 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2873, allocations: 12.38 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.2873, allocations: 8.328 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.2877, allocations: 165.3 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2877, allocations: 0 / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2877, allocations: 0 / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2878, allocations: 4 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.2883, allocations: 103.8 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.2888, allocations: 272.3 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.2895, allocations: 158.4 kB / 1.122 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.2897, allocations: 52.81 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.2898, allocations: 0 / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.2898, allocations: 46.55 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.2898, allocations: 0 / 1.122 GB, free: 14.04 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.01891/0.3087, allocations: 2.676 MB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3087, allocations: 55.39 kB / 1.124 GB, free: 11.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.3088, allocations: 105.8 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.3089, allocations: 29.7 kB / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.3089, allocations: 88.08 kB / 1.125 GB, free: 11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.309, allocations: 39.73 kB / 1.125 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.3091, allocations: 77.52 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3093, allocations: 322.8 kB / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.31, allocations: 187.8 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/0.3107, allocations: 199.8 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.3121, allocations: 393.5 kB / 1.126 GB, free: 9.789 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3121, allocations: 0 / 1.126 GB, free: 9.789 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001632/0.3137, allocations: 473.7 kB / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3138, allocations: 7.984 kB / 1.126 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3138, allocations: 0 / 1.126 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3138, allocations: 4 kB / 1.126 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/0.3146, allocations: 107.7 kB / 1.126 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3146, allocations: 0 / 1.126 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.3153, allocations: 55.88 kB / 1.126 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.3153, allocations: 19.94 kB / 1.126 GB, free: 9.129 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.0001357/0.3155, allocations: 117.8 kB / 1.126 GB, free: 9.004 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.3155, allocations: 7.984 kB / 1.126 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3156, allocations: 12.12 kB / 1.127 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3156, allocations: 8 kB / 1.127 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3156, allocations: 0 / 1.127 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3156, allocations: 3.938 kB / 1.127 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.3179, allocations: 0.9609 MB / 1.127 GB, free: 7.922 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3179, allocations: 4 kB / 1.127 GB, free: 7.918 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008555/0.3188, allocations: 107.8 kB / 1.128 GB, free: 7.812 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3188, allocations: 4 kB / 1.128 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.3188, allocations: 23.92 kB / 1.128 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3188, allocations: 3.938 kB / 1.128 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3188, allocations: 7.938 kB / 1.128 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.3213, allocations: 0.7951 MB / 1.128 GB, free: 6.965 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3215, allocations: 39.92 kB / 1.128 GB, free: 6.926 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.3215, allocations: 0 / 1.128 GB, free: 6.926 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/0.3222, allocations: 51.94 kB / 1.128 GB, free: 6.875 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.3223, allocations: 31.92 kB / 1.128 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.3224, allocations: 19.94 kB / 1.129 GB, free: 6.824 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.3224, allocations: 83.45 kB / 1.129 GB, free: 6.742 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3224, allocations: 0 / 1.129 GB, free: 6.742 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003704/0.3228, allocations: 55.94 kB / 1.129 GB, free: 6.688 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.0001788/0.323, allocations: 119.3 kB / 1.129 GB, free: 6.562 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.3245, allocations: 423.4 kB / 1.129 GB, free: 6.148 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3245, allocations: 0 / 1.129 GB, free: 6.148 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.3253, allocations: 223.7 kB / 1.129 GB, free: 5.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3256, allocations: 15.94 kB / 1.129 GB, free: 5.914 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.33, allocations: 0.7545 MB / 1.13 GB, free: 5.129 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.33, allocations: 75.33 kB / 1.13 GB, free: 5.035 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004861/0.3305, allocations: 88.73 kB / 1.13 GB, free: 4.949 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.3308, allocations: 56.36 kB / 1.13 GB, free: 4.895 MB / 1.076 GB Notification: Performance of SimCode: time 3.7e-07/0.3308, allocations: 4 kB / 1.13 GB, free: 4.891 MB / 1.076 GB Notification: Performance of Templates: time 0.006801/0.3376, allocations: 3.679 MB / 1.134 GB, free: 1.215 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.223243688000366]