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.001419/0.001419, allocations: 77.88 kB / 20.68 MB, free: 3.824 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.001729/0.001729, allocations: 180.9 kB / 24.09 MB, free: 424 kB / 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.9289/0.9289, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.863/1.863, allocations: 359 MB / 0.6055 GB, free: 10.87 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 2.425e-06/2.425e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.66e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001454/0.001481, allocations: 0.7927 MB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.002951, allocations: 1.492 MB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.002993, allocations: 0.6562 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.003023, allocations: 3.938 kB / 0.7899 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.00307, allocations: 4.969 kB / 0.7899 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.00356, allocations: 148.5 kB / 0.79 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.882e-05/0.003639, allocations: 51.89 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.003674, allocations: 7.984 kB / 0.7901 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/0.003767, allocations: 31.91 kB / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.003813, allocations: 23.95 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.003828, allocations: 11.94 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.004116, allocations: 251.5 kB / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.004139, allocations: 11.92 kB / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.004161, allocations: 16.7 kB / 0.7904 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.004414, allocations: 223.4 kB / 0.7906 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004417, allocations: 1.656 kB / 0.7906 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004418, allocations: 0 / 0.7906 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.004422, allocations: 0 / 0.7906 GB, free: 9.09 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.0004113/0.004833, allocations: 420.1 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.004872, allocations: 16.86 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.00509, allocations: 60.11 kB / 0.7911 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.446e-05/0.005164, allocations: 108.6 kB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.005182, allocations: 8.375 kB / 0.7912 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.005205, allocations: 12.36 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.005395, allocations: 148.2 kB / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.005404, allocations: 192 / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.005413, allocations: 1.25 kB / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.005419, allocations: 7.938 kB / 0.7914 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.005469, allocations: 33.62 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.005819, allocations: 300.2 kB / 0.7917 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.005945, allocations: 75.58 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.00597, allocations: 27.61 kB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.005985, allocations: 4.688 kB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.006009, allocations: 33.98 kB / 0.7918 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.006011, allocations: 0 / 0.7918 GB, free: 7.734 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.006353/0.01236, allocations: 1.889 MB / 0.7936 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.01239, allocations: 51.41 kB / 0.7937 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.01246, allocations: 161.9 kB / 0.7939 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.01249, allocations: 29.7 kB / 0.7939 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.01254, allocations: 142.7 kB / 0.794 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.01259, allocations: 39.67 kB / 0.7941 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.01269, allocations: 71.23 kB / 0.7941 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.0128, allocations: 0.4961 MB / 0.7946 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.01294, allocations: 119.9 kB / 0.7947 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.01308, allocations: 119.9 kB / 0.7948 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.01338, allocations: 253.1 kB / 0.7951 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01338, allocations: 0 / 0.7951 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004445/0.01383, allocations: 333.5 kB / 0.7954 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01384, allocations: 9.562 kB / 0.7954 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01385, allocations: 0 / 0.7954 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.01386, allocations: 4 kB / 0.7954 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.01421, allocations: 91.81 kB / 0.7955 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.01421, allocations: 0 / 0.7955 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.01443, allocations: 31.97 kB / 0.7955 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.01446, allocations: 27.92 kB / 0.7956 GB, free: 3.793 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.0001115/0.01457, allocations: 168.5 kB / 0.7957 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.01464, allocations: 7.953 kB / 0.7957 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.01467, allocations: 12.12 kB / 0.7957 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01467, allocations: 4 kB / 0.7957 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.01468, allocations: 0 / 0.7957 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01468, allocations: 3.984 kB / 0.7957 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008373/0.01552, allocations: 0.8243 MB / 0.7965 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01552, allocations: 0 / 0.7965 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.01584, allocations: 91.81 kB / 0.7966 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.01584, allocations: 0 / 0.7966 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.01587, allocations: 23.94 kB / 0.7967 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01588, allocations: 4 kB / 0.7967 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01588, allocations: 0 / 0.7967 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.01656, allocations: 0.5894 MB / 0.7972 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.01665, allocations: 47.8 kB / 0.7973 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.01668, allocations: 0 / 0.7973 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.01692, allocations: 27.95 kB / 0.7973 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.01698, allocations: 27.92 kB / 0.7973 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.01701, allocations: 27.92 kB / 0.7974 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.01705, allocations: 123.2 kB / 0.7975 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01705, allocations: 0 / 0.7975 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002631/0.01731, allocations: 59.97 kB / 0.7975 GB, free: 1.645 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.0001612/0.01747, allocations: 107.2 kB / 0.7976 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.01783, allocations: 292.4 kB / 0.7979 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01783, allocations: 0 / 0.7979 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.018, allocations: 155.5 kB / 0.7981 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.01823, allocations: 45.58 kB / 0.7981 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.01984, allocations: 0.6032 MB / 0.7987 GB, free: 416 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.642e-05/0.01988, allocations: 63.34 kB / 0.7988 GB, free: 332 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002917/0.02017, allocations: 88.73 kB / 0.7988 GB, free: 244 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.02044, allocations: 126.1 kB / 0.799 GB, free: 116 kB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.02044, allocations: 0 / 0.799 GB, free: 116 kB / 0.7448 GB Notification: Performance of Templates: time 0.00536/0.0258, allocations: 3.854 MB / 0.8027 GB, free: 12.27 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: 5.098380834329873]