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.002042/0.002042, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002639/0.002639, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.479/1.479, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.74/2.74, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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 2.214e-06/2.214e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.367e-05, allocations: 3.078 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.003122/0.003156, allocations: 0.7831 MB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003554/0.00671, allocations: 1.457 MB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.00676, allocations: 0 / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.021e-05/0.00681, allocations: 11.86 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.006877, allocations: 5.062 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.007753, allocations: 151.2 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.007896, allocations: 51.89 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.007941, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.008088, allocations: 35.95 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.495e-05/0.008183, allocations: 27.89 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.00821, allocations: 9.031 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006905/0.0089, allocations: 251.4 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.008929, allocations: 11.98 kB / 0.7892 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.008992, allocations: 24.5 kB / 0.7892 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.009576, allocations: 224.7 kB / 0.7894 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.00958, allocations: 0 / 0.7894 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/0.009581, allocations: 0 / 0.7894 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.009586, allocations: 0 / 0.7894 GB, free: 9.73 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.0009478/0.01053, allocations: 323.3 kB / 0.7897 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.01058, allocations: 8.031 kB / 0.7897 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007401/0.01132, allocations: 80.92 kB / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.01149, allocations: 113.7 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.01152, allocations: 9.094 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.01156, allocations: 4.875 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.01219, allocations: 163.8 kB / 0.7901 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.01221, allocations: 4.125 kB / 0.7901 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.01223, allocations: 5.281 kB / 0.7901 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.01224, allocations: 3.938 kB / 0.7901 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.013, allocations: 104.1 kB / 0.7902 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.01388, allocations: 265.2 kB / 0.7904 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.01491, allocations: 164.9 kB / 0.7906 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/0.0153, allocations: 50.56 kB / 0.7906 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.01532, allocations: 0 / 0.7906 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.01538, allocations: 46.55 kB / 0.7907 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.01538, allocations: 0.5312 kB / 0.7907 GB, free: 8.312 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.03527/0.05065, allocations: 2.688 MB / 0.7933 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.05073, allocations: 59.33 kB / 0.7934 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.05088, allocations: 93.86 kB / 0.7934 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.05099, allocations: 33.7 kB / 0.7935 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.05109, allocations: 88.08 kB / 0.7936 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.05122, allocations: 39.84 kB / 0.7936 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.05152, allocations: 73.58 kB / 0.7937 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000276/0.0518, allocations: 322.8 kB / 0.794 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.05317, allocations: 191.8 kB / 0.7942 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.05453, allocations: 191.8 kB / 0.7943 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.05734, allocations: 388.5 kB / 0.7947 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.05734, allocations: 0 / 0.7947 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00325/0.06059, allocations: 486.6 kB / 0.7952 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.06062, allocations: 8 kB / 0.7952 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.06063, allocations: 0 / 0.7952 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.06066, allocations: 3.984 kB / 0.7952 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.0622, allocations: 103.8 kB / 0.7953 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.06222, allocations: 4 kB / 0.7953 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.06343, allocations: 43.94 kB / 0.7953 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.06355, allocations: 27.94 kB / 0.7954 GB, free: 3.418 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.0003181/0.06387, allocations: 117.8 kB / 0.7955 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.06409, allocations: 7.953 kB / 0.7955 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.825e-05/0.06417, allocations: 16.11 kB / 0.7955 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.06419, allocations: 8 kB / 0.7955 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.06419, allocations: 4.125 kB / 0.7955 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.0642, allocations: 0 / 0.7955 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.0688, allocations: 0.9609 MB / 0.7964 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.06881, allocations: 4 kB / 0.7965 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.07038, allocations: 107.8 kB / 0.7966 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.07039, allocations: 0 / 0.7966 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.0705, allocations: 27.86 kB / 0.7966 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.0705, allocations: 4 kB / 0.7966 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.07051, allocations: 0 / 0.7966 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/0.07517, allocations: 0.7956 MB / 0.7974 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.07534, allocations: 39.89 kB / 0.7974 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/0.07541, allocations: 3.984 kB / 0.7974 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007433/0.07615, allocations: 52 kB / 0.7975 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.07627, allocations: 23.92 kB / 0.7975 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/0.07634, allocations: 27.88 kB / 0.7975 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.344e-05/0.07642, allocations: 87.27 kB / 0.7976 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.07642, allocations: 0 / 0.7976 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004429/0.07686, allocations: 51.94 kB / 0.7976 GB, free: 0.9727 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.0002947/0.07716, allocations: 119.1 kB / 0.7977 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.07877, allocations: 419.5 kB / 0.7981 GB, free: 444 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.07877, allocations: 0 / 0.7981 GB, free: 444 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007956/0.07956, allocations: 223.7 kB / 0.7984 GB, free: 220 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.08001, allocations: 35.94 kB / 0.7984 GB, free: 184 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/0.08481, allocations: 0.7389 MB / 0.7991 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.08492, allocations: 79.27 kB / 0.7992 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005901/0.08551, allocations: 92.72 kB / 0.7993 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.08581, allocations: 56.38 kB / 0.7993 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of SimCode: time 1.523e-06/0.08581, allocations: 4 kB / 0.7993 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of Templates: time 0.008654/0.09446, allocations: 3.726 MB / 0.803 GB, free: 11.46 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=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: 7.770953443949111]