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.0009945/0.0009945, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001048/0.001048, allocations: 169 kB / 24.06 MB, free: 456 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.9132/0.9132, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.091/2.091, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.192e-06/1.192e-06, allocations: 0 / 0.8795 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.415e-05, allocations: 4.906 kB / 0.8795 GB, free: 4.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001742/0.001766, allocations: 0.8005 MB / 0.8802 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.003373, allocations: 1.493 MB / 0.8817 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.003424, allocations: 1.5 kB / 0.8817 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.003453, allocations: 7.922 kB / 0.8817 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.003499, allocations: 7.938 kB / 0.8817 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.003982, allocations: 139 kB / 0.8818 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.743e-05/0.004069, allocations: 55.88 kB / 0.8819 GB, free: 2.344 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.004108, allocations: 4 kB / 0.8819 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.004201, allocations: 27.97 kB / 0.8819 GB, free: 2.312 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.004253, allocations: 33.42 kB / 0.882 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.00427, allocations: 4 kB / 0.882 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.004578, allocations: 255.4 kB / 0.8822 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.004602, allocations: 15.97 kB / 0.8822 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.004627, allocations: 18.95 kB / 0.8822 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.004916, allocations: 219.4 kB / 0.8825 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.004919, allocations: 0 / 0.8825 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.323e-06/0.004921, allocations: 0 / 0.8825 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.004925, allocations: 0 / 0.8825 GB, free: 1.781 MB / 0.7917 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.0004359/0.005361, allocations: 424.1 kB / 0.8829 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.005399, allocations: 12.03 kB / 0.8829 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.00565, allocations: 62.8 kB / 0.8829 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.005735, allocations: 112.6 kB / 0.883 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.005763, allocations: 8.312 kB / 0.883 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.005787, allocations: 12.33 kB / 0.8831 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.005989, allocations: 146.3 kB / 0.8832 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.006001, allocations: 4.188 kB / 0.8832 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.006011, allocations: 384 / 0.8832 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.006017, allocations: 7.938 kB / 0.8832 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.006068, allocations: 25.61 kB / 0.8832 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.006419, allocations: 304.2 kB / 0.8835 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.006555, allocations: 75 kB / 0.8836 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.006585, allocations: 23.62 kB / 0.8836 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.006597, allocations: 0 / 0.8836 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.00662, allocations: 41.38 kB / 0.8837 GB, free: 428 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.006621, allocations: 0 / 0.8837 GB, free: 428 kB / 0.7917 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.006932/0.01355, allocations: 1.881 MB / 0.8855 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.01358, allocations: 55.39 kB / 0.8855 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.01365, allocations: 154.1 kB / 0.8857 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.01369, allocations: 33.64 kB / 0.8857 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.01374, allocations: 142.8 kB / 0.8859 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.01379, allocations: 35.59 kB / 0.8859 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.01391, allocations: 79.22 kB / 0.886 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.01403, allocations: 0.4961 MB / 0.8865 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.01418, allocations: 119.9 kB / 0.8866 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.01433, allocations: 115.9 kB / 0.8867 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.01464, allocations: 250.5 kB / 0.8869 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01464, allocations: 0 / 0.8869 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005246/0.01517, allocations: 329.4 kB / 0.8872 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.01518, allocations: 4 kB / 0.8872 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01519, allocations: 48 / 0.8872 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.0152, allocations: 7.984 kB / 0.8872 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.01556, allocations: 95.75 kB / 0.8873 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.01557, allocations: 4 kB / 0.8873 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.01581, allocations: 27.95 kB / 0.8874 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.01585, allocations: 23.94 kB / 0.8874 GB, free: 12.46 MB / 0.8073 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.0001232/0.01597, allocations: 168.5 kB / 0.8875 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.01605, allocations: 11.95 kB / 0.8876 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.01609, allocations: 16.11 kB / 0.8876 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01609, allocations: 0 / 0.8876 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01609, allocations: 0 / 0.8876 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.0161, allocations: 3.938 kB / 0.8876 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008696/0.01697, allocations: 0.8245 MB / 0.8884 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01697, allocations: 0 / 0.8884 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.01732, allocations: 95.81 kB / 0.8885 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.01733, allocations: 4 kB / 0.8885 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.01736, allocations: 19.94 kB / 0.8885 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01736, allocations: 0 / 0.8885 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01736, allocations: 3.938 kB / 0.8885 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.01805, allocations: 0.5932 MB / 0.8891 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.01814, allocations: 43.84 kB / 0.8891 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.01818, allocations: 0 / 0.8891 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.01843, allocations: 31.97 kB / 0.8892 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.01849, allocations: 23.92 kB / 0.8892 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.01853, allocations: 23.92 kB / 0.8892 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.01856, allocations: 123.2 kB / 0.8893 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01856, allocations: 0 / 0.8893 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002746/0.01884, allocations: 56.03 kB / 0.8894 GB, free: 10.31 MB / 0.8073 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.0001604/0.019, allocations: 115.1 kB / 0.8895 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.01938, allocations: 287.3 kB / 0.8898 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01938, allocations: 0 / 0.8898 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.01957, allocations: 163.4 kB / 0.8899 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01979, allocations: 40.94 kB / 0.8899 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.02145, allocations: 0.5878 MB / 0.8905 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.02149, allocations: 67.2 kB / 0.8906 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003054/0.02179, allocations: 88.73 kB / 0.8907 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.02207, allocations: 130 kB / 0.8908 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.02207, allocations: 0 / 0.8908 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of Templates: time 0.00497/0.02704, allocations: 3.971 MB / 0.8947 GB, free: 4.828 MB / 0.8073 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.327583731152117]