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.002418/0.002418, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.00275/0.00275, allocations: 165.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.895/2.895, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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 2.415e-06/2.415e-06, allocations: 0 / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.261e-05/4.503e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.003228/0.003273, allocations: 0.7786 MB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003959/0.007232, allocations: 1.485 MB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.007278, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.007315, allocations: 3.938 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.986e-05/0.007405, allocations: 7.922 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.008305, allocations: 154.8 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.00846, allocations: 47.91 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.008513, allocations: 8.891 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.008658, allocations: 31.95 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.008775, allocations: 31.89 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.008806, allocations: 4.656 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.009573, allocations: 249.1 kB / 0.7892 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.009609, allocations: 15.86 kB / 0.7892 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.009672, allocations: 19.97 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006391/0.01031, allocations: 227.3 kB / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01032, allocations: 0 / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01032, allocations: 0.5938 kB / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.01032, allocations: 3.438 kB / 0.7894 GB, free: 9.672 MB / 0.7448 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.001057/0.01138, allocations: 419.8 kB / 0.7898 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.01143, allocations: 12.03 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.0121, allocations: 57.55 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.01226, allocations: 114.3 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.01229, allocations: 4.375 kB / 0.79 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.01232, allocations: 8.375 kB / 0.79 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.01269, allocations: 154.8 kB / 0.7902 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01271, allocations: 192 / 0.7902 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.01272, allocations: 384 / 0.7902 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.01273, allocations: 8.656 kB / 0.7902 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.01311, allocations: 82.5 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.01375, allocations: 319.6 kB / 0.7906 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.01428, allocations: 130.1 kB / 0.7907 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.01446, allocations: 45 kB / 0.7907 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.01448, allocations: 9.375 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.01452, allocations: 33.55 kB / 0.7908 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.01452, allocations: 0 / 0.7908 GB, free: 8.176 MB / 0.7448 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.01751/0.03203, allocations: 2.49 MB / 0.7932 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.03209, allocations: 59.34 kB / 0.7932 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.03223, allocations: 161.9 kB / 0.7934 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.03227, allocations: 25.7 kB / 0.7934 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.03237, allocations: 138.8 kB / 0.7936 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.402e-05/0.03245, allocations: 43.61 kB / 0.7936 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.03265, allocations: 79.19 kB / 0.7937 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002745/0.03292, allocations: 0.4922 MB / 0.7942 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.03357, allocations: 219.8 kB / 0.7944 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/0.03421, allocations: 215.8 kB / 0.7946 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.0355, allocations: 446 kB / 0.795 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.0355, allocations: 0 / 0.795 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001586/0.03709, allocations: 0.513 MB / 0.7955 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.03711, allocations: 4 kB / 0.7955 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.03711, allocations: 0 / 0.7955 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.03713, allocations: 4 kB / 0.7955 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008319/0.03797, allocations: 95.75 kB / 0.7956 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.03797, allocations: 0 / 0.7956 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.03854, allocations: 23.97 kB / 0.7956 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.03862, allocations: 31.92 kB / 0.7957 GB, free: 3.062 MB / 0.7448 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.0002075/0.03883, allocations: 172.5 kB / 0.7958 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.03895, allocations: 7.953 kB / 0.7958 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.03901, allocations: 12.31 kB / 0.7958 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.03901, allocations: 7.984 kB / 0.7958 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.03902, allocations: 0 / 0.7958 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.03903, allocations: 3.984 kB / 0.7958 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.04137, allocations: 1.05 MB / 0.7969 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.04138, allocations: 0 / 0.7969 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.04219, allocations: 87.83 kB / 0.797 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.04219, allocations: 4 kB / 0.797 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.04226, allocations: 27.92 kB / 0.797 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.04226, allocations: 0 / 0.797 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.04226, allocations: 0 / 0.797 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.04464, allocations: 0.9093 MB / 0.7979 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.04481, allocations: 43.84 kB / 0.7979 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.04489, allocations: 0 / 0.7979 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00063/0.04552, allocations: 36 kB / 0.798 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.04563, allocations: 23.92 kB / 0.798 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/0.04571, allocations: 31.86 kB / 0.798 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.192e-05/0.04579, allocations: 127.2 kB / 0.7981 GB, free: 412 kB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.04579, allocations: 0 / 0.7981 GB, free: 412 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003801/0.04617, allocations: 44 kB / 0.7982 GB, free: 368 kB / 0.7448 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.0002383/0.04641, allocations: 122.7 kB / 0.7983 GB, free: 236 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.04786, allocations: 479.6 kB / 0.7987 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.04786, allocations: 4 kB / 0.7987 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.04857, allocations: 263.3 kB / 0.799 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.04892, allocations: 39.92 kB / 0.799 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.05296, allocations: 0.6815 MB / 0.7997 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.05305, allocations: 79.27 kB / 0.7998 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005506/0.0536, allocations: 88.73 kB / 0.7999 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.05389, allocations: 56.36 kB / 0.7999 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of SimCode: time 6.82e-07/0.05389, allocations: 0 / 0.7999 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of Templates: time 0.008325/0.06221, allocations: 3.78 MB / 0.8036 GB, free: 10.73 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] 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.108739293995313]