Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001019/0.001019, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001017/0.001017, allocations: 173 kB / 23.49 MB, free: 1.059 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.9077/0.9077, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.111/2.111, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8782 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.287e-05, allocations: 6 kB / 0.8783 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002315/0.002348, allocations: 0.8042 MB / 0.879 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.004677, allocations: 1.497 MB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.004723, allocations: 0 / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.00476, allocations: 7.938 kB / 0.8805 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.004813, allocations: 0.9688 kB / 0.8805 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.005487, allocations: 146.6 kB / 0.8806 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.005594, allocations: 51.89 kB / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.005645, allocations: 4 kB / 0.8807 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.005768, allocations: 36.94 kB / 0.8807 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.005839, allocations: 27.95 kB / 0.8808 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.005862, allocations: 4 kB / 0.8808 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.006304, allocations: 252.1 kB / 0.881 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.006336, allocations: 23.91 kB / 0.881 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.006373, allocations: 13.52 kB / 0.881 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.006757, allocations: 219.4 kB / 0.8813 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.006762, allocations: 0 / 0.8813 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/0.006763, allocations: 0 / 0.8813 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.006769, allocations: 0.5312 kB / 0.8813 GB, free: 3.484 MB / 0.8386 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.0006731/0.007442, allocations: 425.5 kB / 0.8817 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.007495, allocations: 12.03 kB / 0.8817 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.00789, allocations: 55.36 kB / 0.8817 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.008017, allocations: 120.5 kB / 0.8818 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.008044, allocations: 11.81 kB / 0.8818 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.008079, allocations: 12.36 kB / 0.8819 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.008419, allocations: 154.2 kB / 0.882 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.008433, allocations: 192 / 0.882 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.00845, allocations: 384 / 0.882 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.008466, allocations: 7.938 kB / 0.882 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.008575, allocations: 33.06 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.009163, allocations: 311.7 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.009398, allocations: 86.91 kB / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.009451, allocations: 23.67 kB / 0.8824 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.009467, allocations: 7.938 kB / 0.8825 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.009501, allocations: 37.39 kB / 0.8825 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.009502, allocations: 0 / 0.8825 GB, free: 2.078 MB / 0.8386 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.01093/0.02043, allocations: 1.994 MB / 0.8844 GB, free: 20 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.02048, allocations: 51.41 kB / 0.8845 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.02058, allocations: 165.9 kB / 0.8846 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.02063, allocations: 33.7 kB / 0.8847 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.02068, allocations: 130.8 kB / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.02075, allocations: 43.64 kB / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.0209, allocations: 75.23 kB / 0.8849 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.02103, allocations: 0.4883 MB / 0.8854 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.02131, allocations: 139.9 kB / 0.8855 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.02159, allocations: 155 kB / 0.8857 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.02217, allocations: 295.5 kB / 0.886 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.02218, allocations: 0 / 0.886 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008255/0.023, allocations: 377.3 kB / 0.8863 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.02302, allocations: 4 kB / 0.8863 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.02303, allocations: 0 / 0.8863 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.02304, allocations: 4 kB / 0.8863 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.02362, allocations: 95.75 kB / 0.8864 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.02363, allocations: 0 / 0.8864 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.02398, allocations: 23.97 kB / 0.8864 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.02404, allocations: 31.92 kB / 0.8865 GB, free: 13.87 MB / 0.8542 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.0001457/0.02418, allocations: 164.5 kB / 0.8866 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.0243, allocations: 4 kB / 0.8866 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.02434, allocations: 12.12 kB / 0.8866 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.02435, allocations: 8 kB / 0.8866 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.02435, allocations: 4 kB / 0.8867 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02436, allocations: 3.984 kB / 0.8867 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.02574, allocations: 0.8862 MB / 0.8875 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02574, allocations: 0 / 0.8875 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.02628, allocations: 91.81 kB / 0.8876 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.02629, allocations: 4 kB / 0.8876 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.02634, allocations: 19.94 kB / 0.8876 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.02634, allocations: 0 / 0.8876 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02634, allocations: 0 / 0.8876 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.02754, allocations: 0.6558 MB / 0.8883 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.02768, allocations: 43.89 kB / 0.8883 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.02774, allocations: 3.938 kB / 0.8883 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.02814, allocations: 28 kB / 0.8883 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.02826, allocations: 27.92 kB / 0.8884 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.02832, allocations: 35.86 kB / 0.8884 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.02836, allocations: 119.2 kB / 0.8885 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02836, allocations: 0 / 0.8885 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003845/0.02874, allocations: 55.94 kB / 0.8886 GB, free: 11.59 MB / 0.8542 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.0002148/0.02896, allocations: 107.2 kB / 0.8887 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006696/0.02963, allocations: 343.1 kB / 0.889 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.02963, allocations: 0 / 0.889 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.02996, allocations: 183.5 kB / 0.8892 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.03029, allocations: 35.92 kB / 0.8892 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.03288, allocations: 0.6266 MB / 0.8898 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.03293, allocations: 71.28 kB / 0.8899 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004434/0.03337, allocations: 88.67 kB / 0.89 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.03362, allocations: 56.36 kB / 0.89 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of SimCode: time 1.322e-06/0.03362, allocations: 0 / 0.89 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of Templates: time 0.007073/0.04069, allocations: 3.785 MB / 0.8937 GB, free: 6.27 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.503663829993457]