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.0009314/0.0009314, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009367/0.0009367, allocations: 161 kB / 23.82 MB, free: 0.7461 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 0.8797/0.8797, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 1.726/1.726, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] 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 4.85e-06/4.85e-06, allocations: 3.984 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.441e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002027/0.002061, allocations: 0.798 MB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.004148, allocations: 1.499 MB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.004183, allocations: 0 / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.004217, allocations: 5.375 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/0.004268, allocations: 7.875 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.004858, allocations: 146.5 kB / 0.7896 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.849e-05/0.004956, allocations: 47.91 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.005002, allocations: 7.922 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.005104, allocations: 39.3 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.005167, allocations: 27.89 kB / 0.7897 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.005187, allocations: 7.938 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.005578, allocations: 247.5 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.005603, allocations: 15.92 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.005633, allocations: 15.97 kB / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.005981, allocations: 223.4 kB / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005984, allocations: 0 / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.203e-06/0.005985, allocations: 0 / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005989, allocations: 0.875 kB / 0.7902 GB, free: 9.348 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.0005738/0.006563, allocations: 424.6 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.006607, allocations: 8.75 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.006955, allocations: 58.86 kB / 0.7906 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.00706, allocations: 117.5 kB / 0.7907 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.007084, allocations: 4.375 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.007115, allocations: 8.375 kB / 0.7908 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.007417, allocations: 151.7 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.007429, allocations: 1.469 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.007447, allocations: 8.375 kB / 0.7909 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.007456, allocations: 3.938 kB / 0.7909 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.00756, allocations: 36.45 kB / 0.7909 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.008026, allocations: 325 kB / 0.7913 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.008177, allocations: 89.12 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.008209, allocations: 19.69 kB / 0.7914 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.008221, allocations: 3.938 kB / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.008243, allocations: 45.38 kB / 0.7914 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.008244, allocations: 0 / 0.7914 GB, free: 7.938 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.006657/0.0149, allocations: 1.992 MB / 0.7934 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.01493, allocations: 59.39 kB / 0.7934 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.015, allocations: 161.9 kB / 0.7936 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.01503, allocations: 25.7 kB / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.01508, allocations: 146.8 kB / 0.7937 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.01513, allocations: 39.8 kB / 0.7938 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01524, allocations: 75.23 kB / 0.7938 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.01534, allocations: 0.4883 MB / 0.7943 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.01552, allocations: 143.9 kB / 0.7945 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01569, allocations: 139.9 kB / 0.7946 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.01606, allocations: 293.2 kB / 0.7949 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01607, allocations: 0 / 0.7949 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005153/0.01658, allocations: 379.7 kB / 0.7952 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.0166, allocations: 8 kB / 0.7952 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.0166, allocations: 0 / 0.7952 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01661, allocations: 3.984 kB / 0.7952 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.01696, allocations: 87.83 kB / 0.7953 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01697, allocations: 4 kB / 0.7953 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.01719, allocations: 31.95 kB / 0.7954 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.01722, allocations: 19.94 kB / 0.7954 GB, free: 3.77 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.0001169/0.01734, allocations: 172.5 kB / 0.7955 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.0174, allocations: 7.953 kB / 0.7955 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.01744, allocations: 20.11 kB / 0.7956 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01744, allocations: 0 / 0.7956 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01744, allocations: 0 / 0.7956 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01745, allocations: 0 / 0.7956 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008796/0.01833, allocations: 0.8863 MB / 0.7964 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01833, allocations: 0 / 0.7964 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.01867, allocations: 95.77 kB / 0.7965 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01867, allocations: 0 / 0.7965 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.01871, allocations: 27.92 kB / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01871, allocations: 0 / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01871, allocations: 0 / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.01947, allocations: 0.6517 MB / 0.7972 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.01955, allocations: 39.86 kB / 0.7972 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.01959, allocations: 4.031 kB / 0.7972 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.01984, allocations: 31.95 kB / 0.7973 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.0199, allocations: 27.92 kB / 0.7973 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.01994, allocations: 27.88 kB / 0.7973 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.01998, allocations: 131.3 kB / 0.7974 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01998, allocations: 3.938 kB / 0.7974 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002487/0.02022, allocations: 51.94 kB / 0.7975 GB, free: 1.477 MB / 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.0001735/0.0204, allocations: 115.2 kB / 0.7976 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.02085, allocations: 327.4 kB / 0.7979 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02085, allocations: 0 / 0.7979 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.02106, allocations: 191.4 kB / 0.7981 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.02128, allocations: 33.62 kB / 0.7981 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.02296, allocations: 0.6194 MB / 0.7987 GB, free: 160 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.023, allocations: 67.28 kB / 0.7988 GB, free: 72 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.02329, allocations: 92.91 kB / 0.7989 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.02347, allocations: 52.38 kB / 0.7989 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of SimCode: time 1.122e-06/0.02347, allocations: 0 / 0.7989 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of Templates: time 0.004986/0.02846, allocations: 3.883 MB / 0.8027 GB, free: 12.06 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.935458299703896]