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.001123/0.001123, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001424/0.001424, allocations: 169 kB / 24.28 MB, free: 280 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 1.003/1.003, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.844/1.844, allocations: 359 MB / 0.6055 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 1.443e-06/1.443e-06, allocations: 0 / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.549e-05, allocations: 5.125 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001428/0.001453, allocations: 0.7954 MB / 0.7879 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.00298, allocations: 1.503 MB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.003015, allocations: 1.188 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.003046, allocations: 3.938 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.003092, allocations: 7.938 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.003529, allocations: 142.3 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.251e-05/0.003611, allocations: 52.48 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.003651, allocations: 5.031 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.101e-05/0.003742, allocations: 27.97 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.003794, allocations: 35.88 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.003811, allocations: 5.938 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.004074, allocations: 251.4 kB / 0.7899 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.004093, allocations: 15.97 kB / 0.7899 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.004121, allocations: 15.92 kB / 0.7899 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.004373, allocations: 223.4 kB / 0.7902 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004375, allocations: 0.6562 kB / 0.7902 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004376, allocations: 0 / 0.7902 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.004381, allocations: 1.062 kB / 0.7902 GB, free: 9.645 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.0004924/0.004873, allocations: 420.1 kB / 0.7906 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.004913, allocations: 9.625 kB / 0.7906 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005247/0.005438, allocations: 62.61 kB / 0.7906 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.656e-05/0.005534, allocations: 120.5 kB / 0.7907 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.005553, allocations: 6.844 kB / 0.7908 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.005577, allocations: 8.375 kB / 0.7908 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.005807, allocations: 154.3 kB / 0.7909 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.005818, allocations: 192 / 0.7909 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.005832, allocations: 5 kB / 0.7909 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.005843, allocations: 9.594 kB / 0.7909 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.005914, allocations: 33.72 kB / 0.791 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.006319, allocations: 315.6 kB / 0.7913 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.006471, allocations: 84.72 kB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.006507, allocations: 23.67 kB / 0.7914 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.00652, allocations: 4 kB / 0.7914 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.006542, allocations: 34.05 kB / 0.7914 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.006544, allocations: 3.938 kB / 0.7914 GB, free: 8.246 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.007284/0.01383, allocations: 1.995 MB / 0.7933 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.01386, allocations: 56.78 kB / 0.7934 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.01394, allocations: 161.9 kB / 0.7936 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.01397, allocations: 29.7 kB / 0.7936 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.01402, allocations: 139.5 kB / 0.7937 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.01407, allocations: 39.64 kB / 0.7938 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.01418, allocations: 79.23 kB / 0.7938 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.0143, allocations: 0.4961 MB / 0.7943 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.01449, allocations: 135.9 kB / 0.7944 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.01468, allocations: 143.9 kB / 0.7946 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.01508, allocations: 288.4 kB / 0.7949 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01508, allocations: 0 / 0.7949 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005603/0.01564, allocations: 379.2 kB / 0.7952 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.01566, allocations: 8 kB / 0.7952 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01566, allocations: 192 / 0.7952 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01568, allocations: 4 kB / 0.7952 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.01605, allocations: 87.81 kB / 0.7953 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01605, allocations: 0 / 0.7953 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.01629, allocations: 39.94 kB / 0.7954 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.01633, allocations: 23.94 kB / 0.7954 GB, free: 4.078 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.00012/0.01645, allocations: 164.5 kB / 0.7955 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/0.01652, allocations: 7.953 kB / 0.7955 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.01656, allocations: 12.12 kB / 0.7956 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01656, allocations: 11.92 kB / 0.7956 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.01657, allocations: 3.938 kB / 0.7956 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01658, allocations: 0 / 0.7956 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.01755, allocations: 0.8864 MB / 0.7964 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01755, allocations: 0 / 0.7964 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.01791, allocations: 91.81 kB / 0.7965 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01791, allocations: 0 / 0.7965 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.01795, allocations: 27.88 kB / 0.7965 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.01795, allocations: 0 / 0.7965 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01795, allocations: 3.984 kB / 0.7966 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008371/0.01879, allocations: 0.6517 MB / 0.7972 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.421e-05/0.01888, allocations: 43.84 kB / 0.7972 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.01892, allocations: 0 / 0.7972 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.01919, allocations: 31.95 kB / 0.7973 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.01926, allocations: 27.92 kB / 0.7973 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.0193, allocations: 27.88 kB / 0.7973 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.732e-05/0.01933, allocations: 127.2 kB / 0.7974 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01933, allocations: 0 / 0.7974 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000268/0.0196, allocations: 55.92 kB / 0.7975 GB, free: 1.789 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.000346/0.01995, allocations: 111.2 kB / 0.7976 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.02042, allocations: 327.7 kB / 0.7979 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02043, allocations: 0 / 0.7979 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.02065, allocations: 191.4 kB / 0.7981 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.02089, allocations: 39.94 kB / 0.7981 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.02269, allocations: 0.615 MB / 0.7987 GB, free: 480 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.351e-05/0.02273, allocations: 67.28 kB / 0.7988 GB, free: 392 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003127/0.02305, allocations: 88.73 kB / 0.7989 GB, free: 304 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.02323, allocations: 60.36 kB / 0.7989 GB, free: 244 kB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.02323, allocations: 4 kB / 0.7989 GB, free: 240 kB / 0.7448 GB Notification: Performance of Templates: time 0.004987/0.02821, allocations: 3.772 MB / 0.8026 GB, free: 12.48 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.210937064839527]